SAM3U USART2

Universal Synchronous Asynchronous Receiver Transmitter (USART2) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x40098000 Control Register USART2_CR write-only -
0x40098004 Mode Register USART2_MR read-write -
0x40098008 Interrupt Enable Register USART2_IER write-only -
0x4009800C Interrupt Disable Register USART2_IDR write-only -
0x40098010 Interrupt Mask Register USART2_IMR read-only 0x00000000
0x40098014 Channel Status Register USART2_CSR read-only -
0x40098018 Receiver Holding Register USART2_RHR read-only 0x00000000
0x4009801C Transmitter Holding Register USART2_THR write-only -
0x40098020 Baud Rate Generator Register USART2_BRGR read-write 0x00000000
0x40098024 Receiver Time-out Register USART2_RTOR read-write 0x00000000
0x40098028 Transmitter Timeguard Register USART2_TTGR read-write 0x00000000
0x40098040 FI DI Ratio Register USART2_FIDI read-write 0x00000174
0x40098044 Number of Errors Register USART2_NER read-only -
0x4009804C IrDA Filter Register USART2_IF read-write 0x00000000
0x40098050 Manchester Encoder Decoder Register USART2_MAN read-write 0x30011004
0x400980E4 Write Protect Mode Register USART2_WPMR read-write 0x00000000
0x400980E8 Write Protect Status Register USART2_WPSR read-only 0x00000000
0x40098100 Receive Pointer Register USART2_RPR read-write 0x00000000
0x40098104 Receive Counter Register USART2_RCR read-write 0x00000000
0x40098108 Transmit Pointer Register USART2_TPR read-write 0x00000000
0x4009810C Transmit Counter Register USART2_TCR read-write 0x00000000
0x40098110 Receive Next Pointer Register USART2_RNPR read-write 0x00000000
0x40098114 Receive Next Counter Register USART2_RNCR read-write 0x00000000
0x40098118 Transmit Next Pointer Register USART2_TNPR read-write 0x00000000
0x4009811C Transmit Next Counter Register USART2_TNCR read-write 0x00000000
0x40098120 Transfer Control Register USART2_PTCR write-only 0x00000000
0x40098124 Transfer Status Register USART2_PTSR read-only 0x00000000

Register Fields

USART2 Control Register

Name: USART2_CR

Access: write-only

Address: 0x40098000

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - RTSDIS RTSEN DTRDIS DTREN
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 - -

USART2 Mode Register

Name: USART2_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

USART2 Interrupt Enable Register

Name: USART2_IER

Access: write-only

Address: 0x40098008

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

USART2 Interrupt Disable Register

Name: USART2_IDR

Access: write-only

Address: 0x4009800C

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

USART2 Interrupt Mask Register

Name: USART2_IMR

Access: read-only

Address: 0x40098010

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

USART2 Channel Status Register

Name: USART2_CSR

Access: read-only

Address: 0x40098014

31 30 29 28 27 26 25 24
- - - - - - - MANERR
23 22 21 20 19 18 17 16
CTS DCD DSR RI CTSIC DCDIC DSRIC RIIC
15 14 13 12 11 10 9 8
- - NACK RXBUFF TXBUFE ITER TXEMPTY TIMEOUT
7 6 5 4 3 2 1 0
PARE FRAME OVRE ENDTX ENDRX RXBRK TXRDY RXRDY

USART2 Receiver Holding Register

Name: USART2_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

USART2 Transmitter Holding Register

Name: USART2_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

USART2 Baud Rate Generator Register

Name: USART2_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

USART2 Receiver Time-out Register

Name: USART2_RTOR

Access: read-write

Address: 0x40098024

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

USART2 Transmitter Timeguard Register

Name: USART2_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

USART2 FI DI Ratio Register

Name: USART2_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

USART2 Number of Errors Register

Name: USART2_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

USART2 IrDA Filter Register

Name: USART2_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

USART2 Manchester Encoder Decoder Register

Name: USART2_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

USART2 Write Protect Mode Register

Name: USART2_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

USART2 Write Protect Status Register

Name: USART2_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

USART2 Receive Pointer Register

Name: USART2_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

USART2 Receive Counter Register

Name: USART2_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

USART2 Transmit Pointer Register

Name: USART2_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

USART2 Transmit Counter Register

Name: USART2_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

USART2 Receive Next Pointer Register

Name: USART2_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

USART2 Receive Next Counter Register

Name: USART2_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

USART2 Transmit Next Pointer Register

Name: USART2_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

USART2 Transmit Next Counter Register

Name: USART2_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

USART2 Transfer Control Register

Name: USART2_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

USART2 Transfer Status Register

Name: USART2_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