23.5.6 Control A
Name: | CTRLA |
Offset: | 0x05 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RXCIE | TXCIE | DREIE | RXSIE | LBME | ABEIE | RS485[1:0] | |||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – RXCIE Receive Complete Interrupt Enable
Value | Description |
---|---|
0 | The Receive Complete Interrupt is disabled |
1 | The Receive Complete Interrupt is enabled |
Bit 6 – TXCIE Transmit Complete Interrupt Enable
Value | Description |
---|---|
0 | The Transmit Complete Interrupt is disabled |
1 | The Transmit Complete Interrupt is enabled |
Bit 5 – DREIE Data Register Empty Interrupt Enable
Value | Description |
---|---|
0 | The Data Register Empty Interrupt is disabled |
1 | The Data Register Empty Interrupt is enabled |
Bit 4 – RXSIE Receiver Start Frame Interrupt Enable
Value | Description |
---|---|
0 | The Receiver Start Frame Interrupt is disabled |
1 | The Receiver Start Frame Interrupt is enabled |
Bit 3 – LBME Loop-Back Mode Enable
Value | Description |
---|---|
0 | Loop-back mode is disabled |
1 | Loop-back mode is enabled |
Bit 2 – ABEIE Auto-Baud Error Interrupt Enable
Value | Description |
---|---|
0 | The Auto-Baud Error Interrupt is disabled |
1 | The Auto-Baud Error Interrupt is enabled |
Bits 1:0 – RS485[1:0] RS-485 Mode
1
’ enables the RS-485 mode, which automatically drives the
XDIR pin high one clock cycle before starting transmission and pulls it low again
when the transmission is complete. Writing RS485[1] to ‘1
’ enables
the RS-485 mode, which automatically sets the TXD pin to output one clock cycle
before starting transmission and sets it back to input when the transmission is
complete.