Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
450
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
1: The transmitter is enabled or will be enabled when the USART is enabled.
Writing a zero to this bit will disable the USART transmitter. Disabling the transmitter will not become effective until 
ongoing and pending transmissions are completed.
Writing a one to CTRLB.TXEN when the USART is disabled will set CTRLB.TXEN immediately. When the USART 
is enabled, CTRLB.TXEN will be cleared, and SYNCBUSY.CTRLB will be set and remain set until the transmitter 
is enabled. When the transmitter is enabled, CTRLB.TXEN will read back as one. 
Writing a one to CTRLB.TXEN when the USART is enabled will set SYNCBUSY.CTRLB, which will remain set 
until the receiver is enabled, and CTRLB.TXEN will read back as one. 
This bit is not enable-protected.
z
Bits 15:14 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bit 13 – PMODE: Parity Mode
This bit selects the type of parity used when parity is enabled (CTRLA.FORM is one). The transmitter will automat-
ically generate and send the parity of the transmitted data bits within each frame. The receiver will generate a 
parity value for the incoming data and parity bit, compare it to the parity mode and, if a mismatch is detected, STA-
TUS.PERR will be set.
0: Even parity.
1: Odd parity.
This bit is not synchronized.
z
Bits 12:11 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bit 10 – ENC: Encoding Format
This bit selects the data encoding format.
0: Data is not encoded.
1: Data is IrDA encoded.
This bit is not synchronized.
z
Bit 9 – SFDE: Start of Frame Detection Enable
This bit controls whether the start-of-frame detector will wake up the device when a start bit is detected on the RxD 
line, according to the table below.
This bit is not synchronized.
z
Bit 8 -- COLDEN: Collision Detection Enable
This bit enables collision detection.
0: Collision detection is not enabled.
1: Collision detection is enabled.
SFDE
INTENSET.RXS
INTENSET.RXC
Description
0
X
X
Start-of-frame detection disabled.
1
0
0
Reserved
1
0
1
Start-of-frame detection enabled. RXC wakes up the device from all sleep modes.
1
1
0
Start-of-frame detection enabled. RXS wakes up the device from all sleep modes.
1
1
1
Start-of-frame detection enabled. Both RXC and RXS wake up the device from all 
sleep modes.