11.2 XCK Pin Configuration
As the table Table 11-1 shows, when UMSEL[1:0] bits are set to "01", the USART will operate in master or slave synchronous mode; when UMSEL[1:0] bits are set to "11", the USART will operate at master SPI mode. When the USART operates at master synchronous or SPI mode, users need configure the XCK pin output direction; when the USART operates at slave synchronous mode, users need configure the XCK pin input direction.
Bits 7:6 – UMSEL[1:0]: USART Mode Select as shown in the table below.
UMSEL[1:0] | Mode |
---|---|
00 | Asynchronous USART |
01 | Synchronous USART |
10 | Reserved |
11 | Master SPI (MSPIM) |