25.5.7 Control B
Name: | CTRLB |
Offset: | 0x06 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RXEN | TXEN | SFDEN | ODME | RXMODE[1:0] | MPCM | ||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – RXEN Receiver Enable
Value | Description |
---|---|
0 | The USART receiver is disabled |
1 | The USART receiver is enabled |
Bit 6 – TXEN Transmitter Enable
Value | Description |
---|---|
0 | The USART transmitter is disabled |
1 | The USART transmitter is enabled |
Bit 4 – SFDEN Start-of-Frame Detection Enable
Value | Description |
---|---|
0 | The USART Start-of-Frame Detection mode is disabled |
1 | The USART Start-of-Frame Detection mode is enabled |
Bit 3 – ODME Open Drain Mode Enable
Value | Description |
---|---|
0 | Open Drain mode is disabled |
1 | Open Drain mode is enabled |
Bits 2:1 – RXMODE[1:0] Receiver Mode
Writing this bit field selects the receiver mode of the USART.
- Writing the bits to
0x00
enables Normal-Speed (NORMAL) mode. When the USART Communication Mode (CMODE) bit field in the Control C (USARTn.CTRLC) register is configured to Asynchronous USART (ASYNCHRONOUS) or Infrared Communication (IRCOM), always write the RXMODE bit field to0x00
. - Writing the bits to
0x01
enables Double-Speed (CLK2X) mode. Refer to 25.3.3.2.4 Double-Speed Operation for more information. - Writing the bits to
0x02
enables Generic Auto-Baud (GENAUTO) mode. Refer to the Auto-Baud section for more information. - Writing the bits to
0x03
enables Lin Constrained Auto-Baud (LINAUTO) mode. Refer to the Auto-Baud section for more information.
Value | Name | Description |
---|---|---|
0x00 | NORMAL | Normal-Speed mode |
0x01 | CLK2X | Double-Speed mode |
0x02 | GENAUTO | Generic Auto-Baud mode |
0x03 | LINAUTO | LIN Constrained Auto-Baud mode |
Bit 0 – MPCM Multi-Processor Communication Mode
This bit controls whether the Multi-Processor Communication mode is enabled or not. Refer to 25.3.4.3 Multiprocessor Communication for more information.
Value | Description |
---|---|
0 | Multi-Processor Communication mode is disabled |
1 | Multi-Processor Communication mode is enabled |