25.5.1 Control A
| Name: | CTRLA |
| Offset: | 0x00 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CSIG[1:0] | CMODE[1:0] | ENABLE | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | ||||
| Reset | 0 | 0 | 0 | 0 | 0 | ||||
Bits 6:5 – CSIG[1:0] Communication Signals
| Value | Name | Description |
|---|---|---|
| 0x00 | NORMAL |
Normal Asynchronous USART (TXD, RXD), Synchronous USART (TXD, RXD, XCK) or SPI host (MOSI, MISO, SCK) |
| 0x01 | RS485 |
Asynchronous USART in RS485 mode (TXD, RXD, XDIR). |
| 0x02 | HANDSHAKE |
Asynchronous USART with Hardware Handshake (TXD, RXD, RTS, CTS). |
| 0x03 | CLKDIS |
SPI Host or Synchronous USART host without clock output (MOSI, MISO or TXD, RXD) |
Bits 2:1 – CMODE[1:0] Communication Mode
| Value | Name | Description |
|---|---|---|
| 0x00 | ASYNCHRONOUS | Asynchronous mode |
| 0x01 | SYNCCLIENT | Synchronous client mode |
| 0x02 | SYNCHOST | Synchronous host mode |
| 0x03 | SPIHOST | SPI Host |
Bit 0 – ENABLE Enable
1’ enables the USART.| Value | Description |
|---|---|
| 0 | The USART is disabled |
| 1 | The USART is enabled |
