SAM3XA USART0

Universal Synchronous Asynchronous Receiver Transmitter (USART0) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x40098000 Control Register USART0_CR write-only -
0x40098004 Mode Register USART0_MR read-write -
0x40098008 Interrupt Enable Register USART0_IER write-only -
0x4009800C Interrupt Disable Register USART0_IDR write-only -
0x40098010 Interrupt Mask Register USART0_IMR read-only 0x00000000
0x40098014 Channel Status Register USART0_CSR read-only -
0x40098018 Receiver Holding Register USART0_RHR read-only 0x00000000
0x4009801C Transmitter Holding Register USART0_THR write-only -
0x40098020 Baud Rate Generator Register USART0_BRGR read-write 0x00000000
0x40098024 Receiver Time-out Register USART0_RTOR read-write 0x00000000
0x40098028 Transmitter Timeguard Register USART0_TTGR read-write 0x00000000
0x40098040 FI DI Ratio Register USART0_FIDI read-write 0x00000174
0x40098044 Number of Errors Register USART0_NER read-only -
0x4009804C IrDA Filter Register USART0_IF read-write 0x00000000
0x40098050 Manchester Encoder Decoder Register USART0_MAN read-write 0x30011004
0x40098054 LIN Mode Register USART0_LINMR read-write 0x00000000
0x40098058 LIN Identifier Register USART0_LINIR read-write 0x00000000
0x400980E4 Write Protect Mode Register USART0_WPMR read-write 0x00000000
0x400980E8 Write Protect Status Register USART0_WPSR read-only 0x00000000
0x40098100 Receive Pointer Register USART0_RPR read-write 0x00000000
0x40098104 Receive Counter Register USART0_RCR read-write 0x00000000
0x40098108 Transmit Pointer Register USART0_TPR read-write 0x00000000
0x4009810C Transmit Counter Register USART0_TCR read-write 0x00000000
0x40098110 Receive Next Pointer Register USART0_RNPR read-write 0x00000000
0x40098114 Receive Next Counter Register USART0_RNCR read-write 0x00000000
0x40098118 Transmit Next Pointer Register USART0_TNPR read-write 0x00000000
0x4009811C Transmit Next Counter Register USART0_TNCR read-write 0x00000000
0x40098120 Transfer Control Register USART0_PTCR write-only 0x00000000
0x40098124 Transfer Status Register USART0_PTSR read-only 0x00000000

Register Fields

USART0 Control Register

Name: USART0_CR

Access: write-only

Address: 0x40098000

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - LINWKUP LINABT RTSDIS RTSEN - -
15 14 13 12 11 10 9 8
RETTO RSTNACK RSTIT SENDA STTTO STPBRK STTBRK RSTSTA
7 6 5 4 3 2 1 0
TXDIS TXEN RXDIS RXEN RSTTX RSTRX - -

USART0 Mode Register

Name: USART0_MR

Access: read-write

Address: 0x40098004

31 30 29 28 27 26 25 24
ONEBIT MODSYNC MAN FILTER - MAX_ITERATION
23 22 21 20 19 18 17 16
INVDATA VAR_SYNC DSNACK INACK OVER CLKO MODE9 MSBF
15 14 13 12 11 10 9 8
CHMODE NBSTOP PAR SYNC
7 6 5 4 3 2 1 0
CHRL USCLKS USART_MODE

USART0 Interrupt Enable Register

Name: USART0_IER

Access: write-only

Address: 0x40098008

31 30 29 28 27 26 25 24
- - LINSNRE LINCE LINIPE LINISFE LINBE MANE
23 22 21 20 19 18 17 16
- - - - CTSIC - - -
15 14 13 12 11 10 9 8
LINTC LINID NACK RXBUFF TXBUFE ITER TXEMPTY TIMEOUT
7 6 5 4 3 2 1 0
PARE FRAME OVRE ENDTX ENDRX RXBRK TXRDY RXRDY

USART0 Interrupt Disable Register

Name: USART0_IDR

Access: write-only

Address: 0x4009800C

31 30 29 28 27 26 25 24
- - LINSNRE LINCE LINIPE LINISFE LINBE MANE
23 22 21 20 19 18 17 16
- - - - CTSIC - - -
15 14 13 12 11 10 9 8
LINTC LINID NACK RXBUFF TXBUFE ITER TXEMPTY TIMEOUT
7 6 5 4 3 2 1 0
PARE FRAME OVRE ENDTX ENDRX RXBRK TXRDY RXRDY

USART0 Interrupt Mask Register

Name: USART0_IMR

Access: read-only

Address: 0x40098010

31 30 29 28 27 26 25 24
- - LINSNRE LINCE LINIPE LINISFE LINBE MANE
23 22 21 20 19 18 17 16
- - - - CTSIC - - -
15 14 13 12 11 10 9 8
LINTC LINID NACK RXBUFF TXBUFE ITER TXEMPTY TIMEOUT
7 6 5 4 3 2 1 0
PARE FRAME OVRE ENDTX ENDRX RXBRK TXRDY RXRDY

USART0 Channel Status Register

Name: USART0_CSR

Access: read-only

Address: 0x40098014

31 30 29 28 27 26 25 24
- - LINSNRE LINCE LINIPE LINISFE LINBE MANERR
23 22 21 20 19 18 17 16
CTS - - - CTSIC - - -
15 14 13 12 11 10 9 8
LINTC LINID NACK RXBUFF TXBUFE ITER TXEMPTY TIMEOUT
7 6 5 4 3 2 1 0
PARE FRAME OVRE ENDTX ENDRX RXBRK TXRDY RXRDY

USART0 Receiver Holding Register

Name: USART0_RHR

Access: read-only

Address: 0x40098018

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
RXSYNH - - - - - - RXCHR
7 6 5 4 3 2 1 0
RXCHR

USART0 Transmitter Holding Register

Name: USART0_THR

Access: write-only

Address: 0x4009801C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
TXSYNH - - - - - - TXCHR
7 6 5 4 3 2 1 0
TXCHR

USART0 Baud Rate Generator Register

Name: USART0_BRGR

Access: read-write

Address: 0x40098020

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - FP
15 14 13 12 11 10 9 8
CD
7 6 5 4 3 2 1 0
CD

USART0 Receiver Time-out Register

Name: USART0_RTOR

Access: read-write

Address: 0x40098024

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - TO
15 14 13 12 11 10 9 8
TO
7 6 5 4 3 2 1 0
TO

USART0 Transmitter Timeguard Register

Name: USART0_TTGR

Access: read-write

Address: 0x40098028

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
TG

USART0 FI DI Ratio Register

Name: USART0_FIDI

Access: read-write

Address: 0x40098040

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - FI_DI_RATIO
7 6 5 4 3 2 1 0
FI_DI_RATIO

USART0 Number of Errors Register

Name: USART0_NER

Access: read-only

Address: 0x40098044

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
NB_ERRORS

USART0 IrDA Filter Register

Name: USART0_IF

Access: read-write

Address: 0x4009804C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
IRDA_FILTER

USART0 Manchester Encoder Decoder Register

Name: USART0_MAN

Access: read-write

Address: 0x40098050

31 30 29 28 27 26 25 24
- DRIFT STUCKTO1 RX_MPOL - - RX_PP
23 22 21 20 19 18 17 16
- - - - RX_PL
15 14 13 12 11 10 9 8
- - - TX_MPOL - - TX_PP
7 6 5 4 3 2 1 0
- - - - TX_PL

USART0 LIN Mode Register

Name: USART0_LINMR

Access: read-write

Address: 0x40098054

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - PDCM
15 14 13 12 11 10 9 8
DLC
7 6 5 4 3 2 1 0
WKUPTYP FSDIS DLM CHKTYP CHKDIS PARDIS NACT

USART0 LIN Identifier Register

Name: USART0_LINIR

Access: read-write

Address: 0x40098058

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
IDCHR

USART0 Write Protect Mode Register

Name: USART0_WPMR

Access: read-write

Address: 0x400980E4

31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
7 6 5 4 3 2 1 0
- - - - - - - WPEN

USART0 Write Protect Status Register

Name: USART0_WPSR

Access: read-only

Address: 0x400980E8

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
WPVSRC
15 14 13 12 11 10 9 8
WPVSRC
7 6 5 4 3 2 1 0
- - - - - - - WPVS

USART0 Receive Pointer Register

Name: USART0_RPR

Access: read-write

Address: 0x40098100

31 30 29 28 27 26 25 24
RXPTR
23 22 21 20 19 18 17 16
RXPTR
15 14 13 12 11 10 9 8
RXPTR
7 6 5 4 3 2 1 0
RXPTR

USART0 Receive Counter Register

Name: USART0_RCR

Access: read-write

Address: 0x40098104

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
RXCTR
7 6 5 4 3 2 1 0
RXCTR

USART0 Transmit Pointer Register

Name: USART0_TPR

Access: read-write

Address: 0x40098108

31 30 29 28 27 26 25 24
TXPTR
23 22 21 20 19 18 17 16
TXPTR
15 14 13 12 11 10 9 8
TXPTR
7 6 5 4 3 2 1 0
TXPTR

USART0 Transmit Counter Register

Name: USART0_TCR

Access: read-write

Address: 0x4009810C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
TXCTR
7 6 5 4 3 2 1 0
TXCTR

USART0 Receive Next Pointer Register

Name: USART0_RNPR

Access: read-write

Address: 0x40098110

31 30 29 28 27 26 25 24
RXNPTR
23 22 21 20 19 18 17 16
RXNPTR
15 14 13 12 11 10 9 8
RXNPTR
7 6 5 4 3 2 1 0
RXNPTR

USART0 Receive Next Counter Register

Name: USART0_RNCR

Access: read-write

Address: 0x40098114

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
RXNCTR
7 6 5 4 3 2 1 0
RXNCTR

USART0 Transmit Next Pointer Register

Name: USART0_TNPR

Access: read-write

Address: 0x40098118

31 30 29 28 27 26 25 24
TXNPTR
23 22 21 20 19 18 17 16
TXNPTR
15 14 13 12 11 10 9 8
TXNPTR
7 6 5 4 3 2 1 0
TXNPTR

USART0 Transmit Next Counter Register

Name: USART0_TNCR

Access: read-write

Address: 0x4009811C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
TXNCTR
7 6 5 4 3 2 1 0
TXNCTR

USART0 Transfer Control Register

Name: USART0_PTCR

Access: write-only

Address: 0x40098120

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - TXTDIS TXTEN
7 6 5 4 3 2 1 0
- - - - - - RXTDIS RXTEN

USART0 Transfer Status Register

Name: USART0_PTSR

Access: read-only

Address: 0x40098124

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - TXTEN
7 6 5 4 3 2 1 0
- - - - - - - RXTEN