SAM3N USART1

Universal Synchronous Asynchronous Receiver Transmitter (USART1) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x40028000 Control Register USART1_CR write-only -
0x40028004 Mode Register USART1_MR read-write -
0x40028008 Interrupt Enable Register USART1_IER write-only -
0x4002800C Interrupt Disable Register USART1_IDR write-only -
0x40028010 Interrupt Mask Register USART1_IMR read-only 0x00000000
0x40028014 Channel Status Register USART1_CSR read-only -
0x40028018 Receiver Holding Register USART1_RHR read-only 0x00000000
0x4002801C Transmitter Holding Register USART1_THR write-only -
0x40028020 Baud Rate Generator Register USART1_BRGR read-write 0x00000000
0x40028024 Receiver Time-out Register USART1_RTOR read-write 0x00000000
0x40028028 Transmitter Timeguard Register USART1_TTGR read-write 0x00000000
0x40028040 FI DI Ratio Register USART1_FIDI read-write 0x00000174
0x40028044 Number of Errors Register USART1_NER read-only -
0x4002804C IrDA Filter Register USART1_IF read-write 0x00000000
0x400280E4 Write Protect Mode Register USART1_WPMR read-write 0x00000000
0x400280E8 Write Protect Status Register USART1_WPSR read-only 0x00000000

Register Fields

USART1 Control Register

Name: USART1_CR

Access: write-only

Address: 0x40028000

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

USART1 Mode Register

Name: USART1_MR

Access: read-write

Address: 0x40028004

31 30 29 28 27 26 25 24
- - - FILTER - MAX_ITERATION
23 22 21 20 19 18 17 16
INVDATA - 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

USART1 Interrupt Enable Register

Name: USART1_IER

Access: write-only

Address: 0x40028008

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

USART1 Interrupt Disable Register

Name: USART1_IDR

Access: write-only

Address: 0x4002800C

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

USART1 Interrupt Mask Register

Name: USART1_IMR

Access: read-only

Address: 0x40028010

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

USART1 Channel Status Register

Name: USART1_CSR

Access: read-only

Address: 0x40028014

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

USART1 Receiver Holding Register

Name: USART1_RHR

Access: read-only

Address: 0x40028018

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

USART1 Transmitter Holding Register

Name: USART1_THR

Access: write-only

Address: 0x4002801C

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

USART1 Baud Rate Generator Register

Name: USART1_BRGR

Access: read-write

Address: 0x40028020

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

USART1 Receiver Time-out Register

Name: USART1_RTOR

Access: read-write

Address: 0x40028024

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

USART1 Transmitter Timeguard Register

Name: USART1_TTGR

Access: read-write

Address: 0x40028028

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

USART1 FI DI Ratio Register

Name: USART1_FIDI

Access: read-write

Address: 0x40028040

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

USART1 Number of Errors Register

Name: USART1_NER

Access: read-only

Address: 0x40028044

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

USART1 IrDA Filter Register

Name: USART1_IF

Access: read-write

Address: 0x4002804C

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

USART1 Write Protect Mode Register

Name: USART1_WPMR

Access: read-write

Address: 0x400280E4

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

USART1 Write Protect Status Register

Name: USART1_WPSR

Access: read-only

Address: 0x400280E8

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