24.12.3 USART Control and Status Register n B
Name: | UCSRB |
Offset: | 0xC1 + n*0x08 [n=0..1] |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RXCIEn | TXCIEn | UDRIEn | RXENn | TXENn | UCSZn2 | RXB8n | TXB8n | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – RXCIEn RX Complete Interrupt Enable
Bit 6 – TXCIEn TX Complete Interrupt Enable
Bit 5 – UDRIEn USART Data Register Empty Interrupt Enable
Bit 4 – RXENn Receiver Enable
Bit 3 – TXENn Transmitter Enable
Bit 2 – UCSZn2 Character Size
The UCSZ2 bits combined with the UCSZ[1:0] bit in UCSRnC sets the number of data bits (Character Size) in a frame the Receiver and Transmitter use.
This bit is reserved in Master SPI Mode (MSPIM).
Bit 1 – RXB8n Receive Data Bit 8
RXB8 is the ninth data bit of the received character when operating with serial frames with nine data bits. Must be read before reading the low bits from UDRn.
This bit is reserved in Master SPI Mode (MSPIM).
Bit 0 – TXB8n Transmit Data Bit 8
TXB8 is the ninth data bit in the character to be transmitted when operating with serial frames with nine data bits. Must be written before writing the low bits to UDRn.
This bit is reserved in Master SPI Mode (MSPIM).