BeRTOS
|
SAM3 UART hardware. More...
Go to the source code of this file.
Defines | |
#define | UART_CR_OFF 0x000 |
UART registers base addresses. | |
#define | UART_MR_OFF 0x004 |
UART registers base addresses. | |
#define | UART_IER_OFF 0x008 |
UART registers base addresses. | |
#define | UART_IDR_OFF 0x00C |
UART registers base addresses. | |
#define | UART_IMR_OFF 0x010 |
UART registers base addresses. | |
#define | UART_SR_OFF 0x014 |
UART registers base addresses. | |
#define | UART_RHR_OFF 0x018 |
UART registers base addresses. | |
#define | UART_THR_OFF 0x01C |
UART registers base addresses. | |
#define | UART_BRGR_OFF 0x020 |
UART registers base addresses. | |
#define | UART_RPR_OFF 0x100 |
UART registers base addresses. | |
#define | UART_RCR_OFF 0x104 |
UART registers base addresses. | |
#define | UART_TPR_OFF 0x108 |
UART registers base addresses. | |
#define | UART_TCR_OFF 0x10C |
UART registers base addresses. | |
#define | UART_RNPR_OFF 0x110 |
UART registers base addresses. | |
#define | UART_RNCR_OFF 0x114 |
UART registers base addresses. | |
#define | UART_TNPR_OFF 0x118 |
UART registers base addresses. | |
#define | UART_TNCR_OFF 0x11C |
UART registers base addresses. | |
#define | UART_PTCR_OFF 0x120 |
UART registers base addresses. | |
#define | UART_PTSR_OFF 0x124 |
UART registers base addresses. | |
#define | UART_CR_RSTRX 2 |
UART register addresses. | |
#define | UART_CR_RSTTX 3 |
UART register addresses. | |
#define | UART_CR_RXEN 4 |
UART register addresses. | |
#define | UART_CR_RXDIS 5 |
UART register addresses. | |
#define | UART_CR_TXEN 6 |
UART register addresses. | |
#define | UART_CR_TXDIS 7 |
UART register addresses. | |
#define | UART_CR_RSTSTA 8 |
UART register addresses. | |
#define | UART_MR_PAR_SHIFT 9 |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_MASK (0x7 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_EVEN (0x0 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_ODD (0x1 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_SPACE (0x2 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_MARK (0x3 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_PAR_NO (0x4 << UART_MR_PAR_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_SHIFT 14 |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_MASK (0x3 << UART_MR_CHMODE_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_NORMAL (0x0 << UART_MR_CHMODE_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_AUTOMATIC (0x1 << UART_MR_CHMODE_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_LOCAL_LOOPBACK (0x2 << UART_MR_CHMODE_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_MR_CHMODE_REMOTE_LOOPBACK (0x3 << UART_MR_CHMODE_SHIFT) |
Bit fields in the UART_MR register. | |
#define | UART_IER_RXRDY 0 |
Bit fields in the UART_IER register. | |
#define | UART_IER_TXRDY 1 |
Bit fields in the UART_IER register. | |
#define | UART_IER_ENDRX 3 |
Bit fields in the UART_IER register. | |
#define | UART_IER_ENDTX 4 |
Bit fields in the UART_IER register. | |
#define | UART_IER_OVRE 5 |
Bit fields in the UART_IER register. | |
#define | UART_IER_FRAME 6 |
Bit fields in the UART_IER register. | |
#define | UART_IER_PARE 7 |
Bit fields in the UART_IER register. | |
#define | UART_IER_TXEMPTY 9 |
Bit fields in the UART_IER register. | |
#define | UART_IER_TXBUFE 11 |
Bit fields in the UART_IER register. | |
#define | UART_IER_RXBUFF 12 |
Bit fields in the UART_IER register. | |
#define | UART_IDR_RXRDY 0 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_TXRDY 1 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_ENDRX 3 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_ENDTX 4 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_OVRE 5 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_FRAME 6 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_PARE 7 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_TXEMPTY 9 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_TXBUFE 11 |
Bit fields in the UART_IDR register. | |
#define | UART_IDR_RXBUFF 12 |
Bit fields in the UART_IDR register. | |
#define | UART_IMR_RXRDY 0 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_TXRDY 1 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_ENDRX 3 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_ENDTX 4 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_OVRE 5 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_FRAME 6 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_PARE 7 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_TXEMPTY 9 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_TXBUFE 11 |
Bit fields in the UART_IMR register. | |
#define | UART_IMR_RXBUFF 12 |
Bit fields in the UART_IMR register. | |
#define | UART_SR_RXRDY 0 |
Bit fields in the UART_SR register. | |
#define | UART_SR_TXRDY 1 |
Bit fields in the UART_SR register. | |
#define | UART_SR_ENDRX 3 |
Bit fields in the UART_SR register. | |
#define | UART_SR_ENDTX 4 |
Bit fields in the UART_SR register. | |
#define | UART_SR_OVRE 5 |
Bit fields in the UART_SR register. | |
#define | UART_SR_FRAME 6 |
Bit fields in the UART_SR register. | |
#define | UART_SR_PARE 7 |
Bit fields in the UART_SR register. | |
#define | UART_SR_TXEMPTY 9 |
Bit fields in the UART_SR register. | |
#define | UART_SR_TXBUFE 11 |
Bit fields in the UART_SR register. | |
#define | UART_SR_RXBUFF 12 |
Bit fields in the UART_SR register. | |
#define | UART_RHR_RXCHR_MASK 0xFF |
Bit fields in the UART_RHR register. | |
#define | UART_RHR_RXCHR_SHIFT 0 |
Bit fields in the UART_RHR register. | |
#define | UART_THR_TXCHR_MASK 0xFF |
Bit fields in the UART_THR register. | |
#define | UART_THR_TXCHR_SHIFT 0 |
Bit fields in the UART_THR register. | |
#define | UART_BRGR_CD_MASK 0xFFFF |
Bit fields in the UART_BRGR register. | |
#define | UART_BRGR_CD_SHIFT 0 |
Bit fields in the UART_BRGR register. | |
#define | UART_RPR_RXPTR_MASK 0xFFFFFFFF |
Bit fields in the UART_RPR register. | |
#define | UART_RPR_RXPTR_SHIFT 0 |
Bit fields in the UART_RPR register. | |
#define | UART_RCR_RXCTR_MASK 0xFFFF |
Bit fields in the UART_RCR register. | |
#define | UART_RCR_RXCTR_SHIFT 0 |
Bit fields in the UART_RCR register. | |
#define | UART_TPR_TXPTR_MASK 0xFFFFFFFF |
Bit fields in the UART_TPR register. | |
#define | UART_TPR_TXPTR_SHIFT 0 |
Bit fields in the UART_TPR register. | |
#define | UART_TCR_TXCTR_MASK 0xFFFF |
Bit fields in the UART_TCR register. | |
#define | UART_TCR_TXCTR_SHIFT 0 |
Bit fields in the UART_TCR register. | |
#define | UART_RNPR_RXNPTR_MASK 0xFFFFFFFF |
Bit fields in the UART_RNPR register. | |
#define | UART_RNPR_RXNPTR_SHIFT 0 |
Bit fields in the UART_RNPR register. | |
#define | UART_RNCR_RXNCTR_MASK 0xFFFF |
Bit fields in the UART_RNCR register. | |
#define | UART_RNCR_RXNCTR_SHIFT 0 |
Bit fields in the UART_RNCR register. | |
#define | UART_TNPR_TXNPTR_MASK 0xFFFFFFFF |
Bit fields in the UART_TNPR register. | |
#define | UART_TNPR_TXNPTR_SHIFT 0 |
Bit fields in the UART_TNPR register. | |
#define | UART_TNCR_TXNCTR_MASK 0xFFFF |
Bit fields in the UART_TNCR register. | |
#define | UART_TNCR_TXNCTR_SHIFT 0 |
Bit fields in the UART_TNCR register. | |
#define | UART_PTCR_RXTEN 0 |
Bit fields in the UART_PTCR register. | |
#define | UART_PTCR_RXTDIS 1 |
Bit fields in the UART_PTCR register. | |
#define | UART_PTCR_TXTEN 8 |
Bit fields in the UART_PTCR register. | |
#define | UART_PTCR_TXTDIS 9 |
Bit fields in the UART_PTCR register. | |
#define | UART_PTSR_RXTEN 0 |
Bit fields in the UART_PTSR register. | |
#define | UART_PTSR_TXTEN 8 |
Bit fields in the UART_PTSR register. |
SAM3 UART hardware.
Definition in file sam3_uart.h.
#define UART_BRGR_OFF 0x020 |
#define UART_CR_OFF 0x000 |
#define UART_CR_RSTRX 2 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 138 of file sam3_uart.h.
#define UART_CR_RSTSTA 8 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 144 of file sam3_uart.h.
#define UART_CR_RSTTX 3 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 139 of file sam3_uart.h.
#define UART_CR_RXDIS 5 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 141 of file sam3_uart.h.
#define UART_CR_RXEN 4 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 140 of file sam3_uart.h.
#define UART_CR_TXDIS 7 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 143 of file sam3_uart.h.
#define UART_CR_TXEN 6 |
UART register addresses.
Bit fields in the UART_CR register.
Definition at line 142 of file sam3_uart.h.
#define UART_IDR_OFF 0x00C |
#define UART_IER_OFF 0x008 |
#define UART_IMR_OFF 0x010 |
#define UART_MR_OFF 0x004 |
#define UART_PTCR_OFF 0x120 |
#define UART_PTSR_OFF 0x124 |
#define UART_RCR_OFF 0x104 |
#define UART_RHR_OFF 0x018 |
#define UART_RNCR_OFF 0x114 |
#define UART_RNPR_OFF 0x110 |
#define UART_RPR_OFF 0x100 |
#define UART_SR_OFF 0x014 |
#define UART_TCR_OFF 0x10C |
#define UART_THR_OFF 0x01C |
#define UART_TNCR_OFF 0x11C |
#define UART_TNPR_OFF 0x118 |
#define UART_TPR_OFF 0x108 |