Alexan E
/
blinky
blinky example from NXP code bundle for LPC11Uxx. No mbed library used
KEIL_LPC11U_COMMON_LIB/usart.h@1:0f1be4e75668, 2012-05-28 (annotated)
- Committer:
- alexan_e
- Date:
- Mon May 28 00:13:23 2012 +0000
- Revision:
- 1:0f1be4e75668
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
alexan_e | 1:0f1be4e75668 | 1 | /**************************************************************************** |
alexan_e | 1:0f1be4e75668 | 2 | * $Id:: usart.h 6172 2011-01-13 18:22:51Z usb00423 $ |
alexan_e | 1:0f1be4e75668 | 3 | * Project: NXP LPC11xx software example |
alexan_e | 1:0f1be4e75668 | 4 | * |
alexan_e | 1:0f1be4e75668 | 5 | * Description: |
alexan_e | 1:0f1be4e75668 | 6 | * This file contains definition and prototype for UART configuration. |
alexan_e | 1:0f1be4e75668 | 7 | * |
alexan_e | 1:0f1be4e75668 | 8 | **************************************************************************** |
alexan_e | 1:0f1be4e75668 | 9 | * Software that is described herein is for illustrative purposes only |
alexan_e | 1:0f1be4e75668 | 10 | * which provides customers with programming information regarding the |
alexan_e | 1:0f1be4e75668 | 11 | * products. This software is supplied "AS IS" without any warranties. |
alexan_e | 1:0f1be4e75668 | 12 | * NXP Semiconductors assumes no responsibility or liability for the |
alexan_e | 1:0f1be4e75668 | 13 | * use of the software, conveys no license or title under any patent, |
alexan_e | 1:0f1be4e75668 | 14 | * copyright, or mask work right to the product. NXP Semiconductors |
alexan_e | 1:0f1be4e75668 | 15 | * reserves the right to make changes in the software without |
alexan_e | 1:0f1be4e75668 | 16 | * notification. NXP Semiconductors also make no representation or |
alexan_e | 1:0f1be4e75668 | 17 | * warranty that such application will be suitable for the specified |
alexan_e | 1:0f1be4e75668 | 18 | * use without further testing or modification. |
alexan_e | 1:0f1be4e75668 | 19 | ****************************************************************************/ |
alexan_e | 1:0f1be4e75668 | 20 | #ifndef __USART_H |
alexan_e | 1:0f1be4e75668 | 21 | #define __USART_H |
alexan_e | 1:0f1be4e75668 | 22 | |
alexan_e | 1:0f1be4e75668 | 23 | /* Synchronous mode control register definition. */ |
alexan_e | 1:0f1be4e75668 | 24 | #define SYNC_ON (0x1<<0) |
alexan_e | 1:0f1be4e75668 | 25 | #define SYNC_OFF (0x0<<0) |
alexan_e | 1:0f1be4e75668 | 26 | |
alexan_e | 1:0f1be4e75668 | 27 | #define SYNC_MASTER (0x1<<1) |
alexan_e | 1:0f1be4e75668 | 28 | #define SYNC_SLAVE (0x0<<1) |
alexan_e | 1:0f1be4e75668 | 29 | |
alexan_e | 1:0f1be4e75668 | 30 | #define SYNC_RE (0x0<<2) |
alexan_e | 1:0f1be4e75668 | 31 | #define SYNC_FE (0x1<<2) |
alexan_e | 1:0f1be4e75668 | 32 | |
alexan_e | 1:0f1be4e75668 | 33 | #define SYNC_CONT_CLK_EN (0x1<<4) |
alexan_e | 1:0f1be4e75668 | 34 | #define SYNC_CONT_CLK_DIS (0x0<<4) |
alexan_e | 1:0f1be4e75668 | 35 | |
alexan_e | 1:0f1be4e75668 | 36 | #define SYNC_STARTSTOPOFF (0x1<<5) |
alexan_e | 1:0f1be4e75668 | 37 | #define SYNC_STARTSTOPON (0x0<<5) |
alexan_e | 1:0f1be4e75668 | 38 | |
alexan_e | 1:0f1be4e75668 | 39 | #define SYNC_CON_CLK_CLR (0x1<<6) |
alexan_e | 1:0f1be4e75668 | 40 | |
alexan_e | 1:0f1be4e75668 | 41 | #endif /* end __USART_H */ |
alexan_e | 1:0f1be4e75668 | 42 | /***************************************************************************** |
alexan_e | 1:0f1be4e75668 | 43 | ** End Of File |
alexan_e | 1:0f1be4e75668 | 44 | ******************************************************************************/ |