AVR16DD20 USART1 registers

The 14 registers of USART1 (Universal Synchronous and Asynchronous Receiver and Transmitter), from 0x820, with their reset value and every field. The AVR16DD20 has 430 registers in 41 peripherals, one page each.

USART1 Universal Synchronous and Asynchronous Receiver and Transmitter

RXDATALReceive Data Low Byte

Address
0x820
Reset
0x00
Access
read only
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0RX Data

RXDATAHReceive Data High Byte

Address
0x821
Reset
0x00
Access
read only
  1. 7RXCIF
  2. 6BUFOVF
  3. 5–
  4. 4–
  5. 3–
  6. 2FERR
  7. 1PERR
  8. 0DATA8
5 fields
FieldBitsWhat it does
RXCIF7Receive Complete Interrupt Flag
BUFOVF6Buffer Overflow
FERR2Frame Error
PERR1Parity Error
DATA80Receiver Data Register

TXDATALTransmit Data Low Byte

Address
0x822
Reset
0x00
Access
read/write
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0Transmit Data Register

TXDATAHTransmit Data High Byte

Address
0x823
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DATA8
1 field
FieldBitsWhat it does
DATA80Transmit Data Register (CHSIZE=9bit)

STATUSStatus

Address
0x824
Reset
0x20
Access
read/write
  1. 7RXCIF
  2. 6TXCIF
  3. 5DREIF
  4. 4RXSIF
  5. 3ISFIF
  6. 2–
  7. 1BDF
  8. 0WFB
7 fields
FieldBitsWhat it does
RXCIF7Receive Complete Interrupt Flag
TXCIF6Transmit Interrupt Flag
DREIF5Data Register Empty Flag
RXSIF4Receive Start Interrupt
ISFIF3Inconsistent Sync Field Interrupt Flag
BDF1Break Detected Flag
WFB0Wait For Break

CTRLAControl A

Address
0x825
Reset
0x00
Access
read/write
  1. 7RXCIE
  2. 6TXCIE
  3. 5DREIE
  4. 4RXSIE
  5. 3LBME
  6. 2ABEIE
  7. 1–
  8. 0RS485
7 fields
FieldBitsWhat it does
RXCIE7Receive Complete Interrupt Enable
TXCIE6Transmit Complete Interrupt Enable
DREIE5Data Register Empty Interrupt Enable
RXSIE4Receiver Start Frame Interrupt Enable
LBME3Loop-back Mode Enable
ABEIE2Auto-baud Error Interrupt Enable
RS4850RS485 Mode internal transmitter
  • 0 RS485 Mode disabled
  • 1 RS485 Mode enabled

CTRLBControl B

Address
0x826
Reset
0x00
Access
read/write
  1. 7RXEN
  2. 6TXEN
  3. 5–
  4. 4SFDEN
  5. 3ODME
  6. 2RXMODE1
  7. 1RXMODE0
  8. 0MPCM
6 fields
FieldBitsWhat it does
RXEN7Reciever enable
TXEN6Transmitter Enable
SFDEN4Start Frame Detection Enable
ODME3Open Drain Mode Enable
RXMODE2:1Receiver Mode
  • 0 Normal mode
  • 1 CLK2x mode
  • 2 Generic autobaud mode
  • 3 LIN constrained autobaud mode
MPCM0Multi-processor Communication Mode

CTRLCControl C

Address
0x827
Reset
0x03
Access
read/write
  1. 7CMODE1
  2. 6CMODE0
  3. 5PMODE1
  4. 4PMODE0
  5. 3SBMODE
  6. 2CHSIZE2
  7. 1CHSIZE1
  8. 0CHSIZE0
6 fields
FieldBitsWhat it does
CMODE7:6Communication Mode
  • 0 Asynchronous Mode
  • 1 Synchronous Mode
  • 2 Infrared Communication
  • 3 SPI Host Mode
PMODE5:4Parity Mode
  • 0 No Parity
  • 2 Even Parity
  • 3 Odd Parity
SBMODE3Stop Bit Mode
  • 0 1 stop bit
  • 1 2 stop bits
CHSIZE2:0Character Size
  • 0 Character size: 5 bit
  • 1 Character size: 6 bit
  • 2 Character size: 7 bit
  • 3 Character size: 8 bit
  • 6 Character size: 9 bit read low byte first
  • 7 Character size: 9 bit read high byte first
UDORD2SPI Host Mode, Data Order
UCPHA1SPI Host Mode, Clock Phase

BAUDBaud Rate

Address
0x828
Reset
0x0000
Access
read/write
Size
16-bit

CTRLDControl D

Address
0x82A
Reset
0x00
Access
read/write
  1. 7ABW1
  2. 6ABW0
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
1 field
FieldBitsWhat it does
ABW7:6Auto Baud Window
  • 0 18% tolerance
  • 1 15% tolerance
  • 2 21% tolerance
  • 3 25% tolerance

DBGCTRLDebug Control

Address
0x82B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGRUN
1 field
FieldBitsWhat it does
DBGRUN0Debug Run

EVCTRLEvent Control

Address
0x82C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0IREI
1 field
FieldBitsWhat it does
IREI0IrDA Event Input Enable

TXPLCTRLIRCOM Transmitter Pulse Length Control

Address
0x82D
Reset
0x00
Access
read/write
  1. 7TXPL7
  2. 6TXPL6
  3. 5TXPL5
  4. 4TXPL4
  5. 3TXPL3
  6. 2TXPL2
  7. 1TXPL1
  8. 0TXPL0
1 field
FieldBitsWhat it does
TXPL7:0Transmit pulse length

RXPLCTRLIRCOM Receiver Pulse Length Control

Address
0x82E
Reset
0x00
Access
read/write
  1. 7–
  2. 6RXPL6
  3. 5RXPL5
  4. 4RXPL4
  5. 3RXPL3
  6. 2RXPL2
  7. 1RXPL1
  8. 0RXPL0
1 field
FieldBitsWhat it does
RXPL6:0Receiver Pulse Lenght