Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | ATMEL_US_CR 0x00 /* Control Register */ |
#define | ATMEL_US_RSTRX (1 << 2) /* Reset Receiver */ |
#define | ATMEL_US_RSTTX (1 << 3) /* Reset Transmitter */ |
#define | ATMEL_US_RXEN (1 << 4) /* Receiver Enable */ |
#define | ATMEL_US_RXDIS (1 << 5) /* Receiver Disable */ |
#define | ATMEL_US_TXEN (1 << 6) /* Transmitter Enable */ |
#define | ATMEL_US_TXDIS (1 << 7) /* Transmitter Disable */ |
#define | ATMEL_US_RSTSTA (1 << 8) /* Reset Status Bits */ |
#define | ATMEL_US_STTBRK (1 << 9) /* Start Break */ |
#define | ATMEL_US_STPBRK (1 << 10) /* Stop Break */ |
#define | ATMEL_US_STTTO (1 << 11) /* Start Time-out */ |
#define | ATMEL_US_SENDA (1 << 12) /* Send Address */ |
#define | ATMEL_US_RSTIT (1 << 13) /* Reset Iterations */ |
#define | ATMEL_US_RSTNACK (1 << 14) /* Reset Non Acknowledge */ |
#define | ATMEL_US_RETTO (1 << 15) /* Rearm Time-out */ |
#define | ATMEL_US_DTREN (1 << 16) /* Data Terminal Ready Enable [AT91RM9200 only] */ |
#define | ATMEL_US_DTRDIS (1 << 17) /* Data Terminal Ready Disable [AT91RM9200 only] */ |
#define | ATMEL_US_RTSEN (1 << 18) /* Request To Send Enable */ |
#define | ATMEL_US_RTSDIS (1 << 19) /* Request To Send Disable */ |
#define | ATMEL_US_MR 0x04 /* Mode Register */ |
#define | ATMEL_US_USMODE (0xf << 0) /* Mode of the USART */ |
#define | ATMEL_US_USMODE_NORMAL 0 |
#define | ATMEL_US_USMODE_RS485 1 |
#define | ATMEL_US_USMODE_HWHS 2 |
#define | ATMEL_US_USMODE_MODEM 3 |
#define | ATMEL_US_USMODE_ISO7816_T0 4 |
#define | ATMEL_US_USMODE_ISO7816_T1 6 |
#define | ATMEL_US_USMODE_IRDA 8 |
#define | ATMEL_US_USCLKS (3 << 4) /* Clock Selection */ |
#define | ATMEL_US_USCLKS_MCK (0 << 4) |
#define | ATMEL_US_USCLKS_MCK_DIV8 (1 << 4) |
#define | ATMEL_US_USCLKS_SCK (3 << 4) |
#define | ATMEL_US_CHRL (3 << 6) /* Character Length */ |
#define | ATMEL_US_CHRL_5 (0 << 6) |
#define | ATMEL_US_CHRL_6 (1 << 6) |
#define | ATMEL_US_CHRL_7 (2 << 6) |
#define | ATMEL_US_CHRL_8 (3 << 6) |
#define | ATMEL_US_SYNC (1 << 8) /* Synchronous Mode Select */ |
#define | ATMEL_US_PAR (7 << 9) /* Parity Type */ |
#define | ATMEL_US_PAR_EVEN (0 << 9) |
#define | ATMEL_US_PAR_ODD (1 << 9) |
#define | ATMEL_US_PAR_SPACE (2 << 9) |
#define | ATMEL_US_PAR_MARK (3 << 9) |
#define | ATMEL_US_PAR_NONE (4 << 9) |
#define | ATMEL_US_PAR_MULTI_DROP (6 << 9) |
#define | ATMEL_US_NBSTOP (3 << 12) /* Number of Stop Bits */ |
#define | ATMEL_US_NBSTOP_1 (0 << 12) |
#define | ATMEL_US_NBSTOP_1_5 (1 << 12) |
#define | ATMEL_US_NBSTOP_2 (2 << 12) |
#define | ATMEL_US_CHMODE (3 << 14) /* Channel Mode */ |
#define | ATMEL_US_CHMODE_NORMAL (0 << 14) |
#define | ATMEL_US_CHMODE_ECHO (1 << 14) |
#define | ATMEL_US_CHMODE_LOC_LOOP (2 << 14) |
#define | ATMEL_US_CHMODE_REM_LOOP (3 << 14) |
#define | ATMEL_US_MSBF (1 << 16) /* Bit Order */ |
#define | ATMEL_US_MODE9 (1 << 17) /* 9-bit Character Length */ |
#define | ATMEL_US_CLKO (1 << 18) /* Clock Output Select */ |
#define | ATMEL_US_OVER (1 << 19) /* Oversampling Mode */ |
#define | ATMEL_US_INACK (1 << 20) /* Inhibit Non Acknowledge */ |
#define | ATMEL_US_DSNACK (1 << 21) /* Disable Successive NACK */ |
#define | ATMEL_US_MAX_ITER (7 << 24) /* Max Iterations */ |
#define | ATMEL_US_FILTER (1 << 28) /* Infrared Receive Line Filter */ |
#define | ATMEL_US_IER 0x08 /* Interrupt Enable Register */ |
#define | ATMEL_US_RXRDY (1 << 0) /* Receiver Ready */ |
#define | ATMEL_US_TXRDY (1 << 1) /* Transmitter Ready */ |
#define | ATMEL_US_RXBRK (1 << 2) /* Break Received / End of Break */ |
#define | ATMEL_US_ENDRX (1 << 3) /* End of Receiver Transfer */ |
#define | ATMEL_US_ENDTX (1 << 4) /* End of Transmitter Transfer */ |
#define | ATMEL_US_OVRE (1 << 5) /* Overrun Error */ |
#define | ATMEL_US_FRAME (1 << 6) /* Framing Error */ |
#define | ATMEL_US_PARE (1 << 7) /* Parity Error */ |
#define | ATMEL_US_TIMEOUT (1 << 8) /* Receiver Time-out */ |
#define | ATMEL_US_TXEMPTY (1 << 9) /* Transmitter Empty */ |
#define | ATMEL_US_ITERATION (1 << 10) /* Max number of Repetitions Reached */ |
#define | ATMEL_US_TXBUFE (1 << 11) /* Transmission Buffer Empty */ |
#define | ATMEL_US_RXBUFF (1 << 12) /* Reception Buffer Full */ |
#define | ATMEL_US_NACK (1 << 13) /* Non Acknowledge */ |
#define | ATMEL_US_RIIC (1 << 16) /* Ring Indicator Input Change [AT91RM9200 only] */ |
#define | ATMEL_US_DSRIC (1 << 17) /* Data Set Ready Input Change [AT91RM9200 only] */ |
#define | ATMEL_US_DCDIC (1 << 18) /* Data Carrier Detect Input Change [AT91RM9200 only] */ |
#define | ATMEL_US_CTSIC (1 << 19) /* Clear to Send Input Change */ |
#define | ATMEL_US_RI (1 << 20) /* RI */ |
#define | ATMEL_US_DSR (1 << 21) /* DSR */ |
#define | ATMEL_US_DCD (1 << 22) /* DCD */ |
#define | ATMEL_US_CTS (1 << 23) /* CTS */ |
#define | ATMEL_US_IDR 0x0c /* Interrupt Disable Register */ |
#define | ATMEL_US_IMR 0x10 /* Interrupt Mask Register */ |
#define | ATMEL_US_CSR 0x14 /* Channel Status Register */ |
#define | ATMEL_US_RHR 0x18 /* Receiver Holding Register */ |
#define | ATMEL_US_THR 0x1c /* Transmitter Holding Register */ |
#define | ATMEL_US_SYNH (1 << 15) /* Transmit/Receive Sync [AT91SAM9261 only] */ |
#define | ATMEL_US_BRGR 0x20 /* Baud Rate Generator Register */ |
#define | ATMEL_US_CD (0xffff << 0) /* Clock Divider */ |
#define | ATMEL_US_RTOR 0x24 /* Receiver Time-out Register */ |
#define | ATMEL_US_TO (0xffff << 0) /* Time-out Value */ |
#define | ATMEL_US_TTGR 0x28 /* Transmitter Timeguard Register */ |
#define | ATMEL_US_TG (0xff << 0) /* Timeguard Value */ |
#define | ATMEL_US_FIDI 0x40 /* FI DI Ratio Register */ |
#define | ATMEL_US_NER 0x44 /* Number of Errors Register */ |
#define | ATMEL_US_IF 0x4c /* IrDA Filter Register */ |
#define ATMEL_US_BRGR 0x20 /* Baud Rate Generator Register */ |
Definition at line 114 of file atmel_serial.h.
#define ATMEL_US_CD (0xffff << 0) /* Clock Divider */ |
Definition at line 115 of file atmel_serial.h.
Definition at line 69 of file atmel_serial.h.
#define ATMEL_US_CHMODE_ECHO (1 << 14) |
Definition at line 71 of file atmel_serial.h.
#define ATMEL_US_CHMODE_LOC_LOOP (2 << 14) |
Definition at line 72 of file atmel_serial.h.
#define ATMEL_US_CHMODE_NORMAL (0 << 14) |
Definition at line 70 of file atmel_serial.h.
#define ATMEL_US_CHMODE_REM_LOOP (3 << 14) |
Definition at line 73 of file atmel_serial.h.
#define ATMEL_US_CHRL (3 << 6) /* Character Length */ |
Definition at line 52 of file atmel_serial.h.
#define ATMEL_US_CHRL_5 (0 << 6) |
Definition at line 53 of file atmel_serial.h.
#define ATMEL_US_CHRL_6 (1 << 6) |
Definition at line 54 of file atmel_serial.h.
#define ATMEL_US_CHRL_7 (2 << 6) |
Definition at line 55 of file atmel_serial.h.
#define ATMEL_US_CHRL_8 (3 << 6) |
Definition at line 56 of file atmel_serial.h.
Definition at line 76 of file atmel_serial.h.
#define ATMEL_US_CR 0x00 /* Control Register */ |
Definition at line 19 of file atmel_serial.h.
#define ATMEL_US_CSR 0x14 /* Channel Status Register */ |
Definition at line 109 of file atmel_serial.h.
#define ATMEL_US_CTS (1 << 23) /* CTS */ |
Definition at line 105 of file atmel_serial.h.
#define ATMEL_US_CTSIC (1 << 19) /* Clear to Send Input Change */ |
Definition at line 101 of file atmel_serial.h.
#define ATMEL_US_DCD (1 << 22) /* DCD */ |
Definition at line 104 of file atmel_serial.h.
Definition at line 100 of file atmel_serial.h.
#define ATMEL_US_DSNACK (1 << 21) /* Disable Successive NACK */ |
Definition at line 79 of file atmel_serial.h.
#define ATMEL_US_DSR (1 << 21) /* DSR */ |
Definition at line 103 of file atmel_serial.h.
Definition at line 99 of file atmel_serial.h.
Definition at line 35 of file atmel_serial.h.
Definition at line 34 of file atmel_serial.h.
#define ATMEL_US_ENDRX (1 << 3) /* End of Receiver Transfer */ |
Definition at line 87 of file atmel_serial.h.
#define ATMEL_US_ENDTX (1 << 4) /* End of Transmitter Transfer */ |
Definition at line 88 of file atmel_serial.h.
#define ATMEL_US_FIDI 0x40 /* FI DI Ratio Register */ |
Definition at line 123 of file atmel_serial.h.
#define ATMEL_US_FILTER (1 << 28) /* Infrared Receive Line Filter */ |
Definition at line 81 of file atmel_serial.h.
#define ATMEL_US_FRAME (1 << 6) /* Framing Error */ |
Definition at line 90 of file atmel_serial.h.
#define ATMEL_US_IDR 0x0c /* Interrupt Disable Register */ |
Definition at line 107 of file atmel_serial.h.
#define ATMEL_US_IER 0x08 /* Interrupt Enable Register */ |
Definition at line 83 of file atmel_serial.h.
#define ATMEL_US_IF 0x4c /* IrDA Filter Register */ |
Definition at line 125 of file atmel_serial.h.
#define ATMEL_US_IMR 0x10 /* Interrupt Mask Register */ |
Definition at line 108 of file atmel_serial.h.
#define ATMEL_US_INACK (1 << 20) /* Inhibit Non Acknowledge */ |
Definition at line 78 of file atmel_serial.h.
#define ATMEL_US_ITERATION (1 << 10) /* Max number of Repetitions Reached */ |
Definition at line 94 of file atmel_serial.h.
#define ATMEL_US_MAX_ITER (7 << 24) /* Max Iterations */ |
Definition at line 80 of file atmel_serial.h.
Definition at line 75 of file atmel_serial.h.
#define ATMEL_US_MR 0x04 /* Mode Register */ |
Definition at line 39 of file atmel_serial.h.
#define ATMEL_US_MSBF (1 << 16) /* Bit Order */ |
Definition at line 74 of file atmel_serial.h.
#define ATMEL_US_NACK (1 << 13) /* Non Acknowledge */ |
Definition at line 97 of file atmel_serial.h.
#define ATMEL_US_NBSTOP (3 << 12) /* Number of Stop Bits */ |
Definition at line 65 of file atmel_serial.h.
#define ATMEL_US_NBSTOP_1 (0 << 12) |
Definition at line 66 of file atmel_serial.h.
#define ATMEL_US_NBSTOP_1_5 (1 << 12) |
Definition at line 67 of file atmel_serial.h.
#define ATMEL_US_NBSTOP_2 (2 << 12) |
Definition at line 68 of file atmel_serial.h.
#define ATMEL_US_NER 0x44 /* Number of Errors Register */ |
Definition at line 124 of file atmel_serial.h.
#define ATMEL_US_OVER (1 << 19) /* Oversampling Mode */ |
Definition at line 77 of file atmel_serial.h.
#define ATMEL_US_OVRE (1 << 5) /* Overrun Error */ |
Definition at line 89 of file atmel_serial.h.
#define ATMEL_US_PAR (7 << 9) /* Parity Type */ |
Definition at line 58 of file atmel_serial.h.
#define ATMEL_US_PAR_EVEN (0 << 9) |
Definition at line 59 of file atmel_serial.h.
#define ATMEL_US_PAR_MARK (3 << 9) |
Definition at line 62 of file atmel_serial.h.
#define ATMEL_US_PAR_MULTI_DROP (6 << 9) |
Definition at line 64 of file atmel_serial.h.
#define ATMEL_US_PAR_NONE (4 << 9) |
Definition at line 63 of file atmel_serial.h.
#define ATMEL_US_PAR_ODD (1 << 9) |
Definition at line 60 of file atmel_serial.h.
#define ATMEL_US_PAR_SPACE (2 << 9) |
Definition at line 61 of file atmel_serial.h.
#define ATMEL_US_PARE (1 << 7) /* Parity Error */ |
Definition at line 91 of file atmel_serial.h.
Definition at line 33 of file atmel_serial.h.
#define ATMEL_US_RHR 0x18 /* Receiver Holding Register */ |
Definition at line 110 of file atmel_serial.h.
#define ATMEL_US_RI (1 << 20) /* RI */ |
Definition at line 102 of file atmel_serial.h.
#define ATMEL_US_RIIC (1 << 16) /* Ring Indicator Input Change [AT91RM9200 only] */ |
Definition at line 98 of file atmel_serial.h.
#define ATMEL_US_RSTIT (1 << 13) /* Reset Iterations */ |
Definition at line 31 of file atmel_serial.h.
#define ATMEL_US_RSTNACK (1 << 14) /* Reset Non Acknowledge */ |
Definition at line 32 of file atmel_serial.h.
#define ATMEL_US_RSTRX (1 << 2) /* Reset Receiver */ |
Definition at line 20 of file atmel_serial.h.
Definition at line 26 of file atmel_serial.h.
#define ATMEL_US_RSTTX (1 << 3) /* Reset Transmitter */ |
Definition at line 21 of file atmel_serial.h.
#define ATMEL_US_RTOR 0x24 /* Receiver Time-out Register */ |
Definition at line 117 of file atmel_serial.h.
#define ATMEL_US_RTSDIS (1 << 19) /* Request To Send Disable */ |
Definition at line 37 of file atmel_serial.h.
#define ATMEL_US_RTSEN (1 << 18) /* Request To Send Enable */ |
Definition at line 36 of file atmel_serial.h.
#define ATMEL_US_RXBRK (1 << 2) /* Break Received / End of Break */ |
Definition at line 86 of file atmel_serial.h.
#define ATMEL_US_RXBUFF (1 << 12) /* Reception Buffer Full */ |
Definition at line 96 of file atmel_serial.h.
#define ATMEL_US_RXDIS (1 << 5) /* Receiver Disable */ |
Definition at line 23 of file atmel_serial.h.
#define ATMEL_US_RXEN (1 << 4) /* Receiver Enable */ |
Definition at line 22 of file atmel_serial.h.
#define ATMEL_US_RXRDY (1 << 0) /* Receiver Ready */ |
Definition at line 84 of file atmel_serial.h.
#define ATMEL_US_SENDA (1 << 12) /* Send Address */ |
Definition at line 30 of file atmel_serial.h.
#define ATMEL_US_STPBRK (1 << 10) /* Stop Break */ |
Definition at line 28 of file atmel_serial.h.
#define ATMEL_US_STTBRK (1 << 9) /* Start Break */ |
Definition at line 27 of file atmel_serial.h.
Definition at line 29 of file atmel_serial.h.
#define ATMEL_US_SYNC (1 << 8) /* Synchronous Mode Select */ |
Definition at line 57 of file atmel_serial.h.
#define ATMEL_US_SYNH (1 << 15) /* Transmit/Receive Sync [AT91SAM9261 only] */ |
Definition at line 112 of file atmel_serial.h.
#define ATMEL_US_TG (0xff << 0) /* Timeguard Value */ |
Definition at line 121 of file atmel_serial.h.
#define ATMEL_US_THR 0x1c /* Transmitter Holding Register */ |
Definition at line 111 of file atmel_serial.h.
Definition at line 92 of file atmel_serial.h.
#define ATMEL_US_TO (0xffff << 0) /* Time-out Value */ |
Definition at line 118 of file atmel_serial.h.
#define ATMEL_US_TTGR 0x28 /* Transmitter Timeguard Register */ |
Definition at line 120 of file atmel_serial.h.
#define ATMEL_US_TXBUFE (1 << 11) /* Transmission Buffer Empty */ |
Definition at line 95 of file atmel_serial.h.
#define ATMEL_US_TXDIS (1 << 7) /* Transmitter Disable */ |
Definition at line 25 of file atmel_serial.h.
#define ATMEL_US_TXEMPTY (1 << 9) /* Transmitter Empty */ |
Definition at line 93 of file atmel_serial.h.
#define ATMEL_US_TXEN (1 << 6) /* Transmitter Enable */ |
Definition at line 24 of file atmel_serial.h.
#define ATMEL_US_TXRDY (1 << 1) /* Transmitter Ready */ |
Definition at line 85 of file atmel_serial.h.
#define ATMEL_US_USCLKS (3 << 4) /* Clock Selection */ |
Definition at line 48 of file atmel_serial.h.
#define ATMEL_US_USCLKS_MCK (0 << 4) |
Definition at line 49 of file atmel_serial.h.
#define ATMEL_US_USCLKS_MCK_DIV8 (1 << 4) |
Definition at line 50 of file atmel_serial.h.
#define ATMEL_US_USCLKS_SCK (3 << 4) |
Definition at line 51 of file atmel_serial.h.
#define ATMEL_US_USMODE (0xf << 0) /* Mode of the USART */ |
Definition at line 40 of file atmel_serial.h.
#define ATMEL_US_USMODE_HWHS 2 |
Definition at line 43 of file atmel_serial.h.
#define ATMEL_US_USMODE_IRDA 8 |
Definition at line 47 of file atmel_serial.h.
#define ATMEL_US_USMODE_ISO7816_T0 4 |
Definition at line 45 of file atmel_serial.h.
#define ATMEL_US_USMODE_ISO7816_T1 6 |
Definition at line 46 of file atmel_serial.h.
#define ATMEL_US_USMODE_MODEM 3 |
Definition at line 44 of file atmel_serial.h.
#define ATMEL_US_USMODE_NORMAL 0 |
Definition at line 41 of file atmel_serial.h.
#define ATMEL_US_USMODE_RS485 1 |
Definition at line 42 of file atmel_serial.h.