Clock polarity selection
0: CLK pin is pulled low when SPI is idle.
1: CLK pin is pulled high when SPI is idle.
Clock phase selection
0: Capture the first data at the first clock transition.
1: Capture the first data at the second clock transition.
20.5.2. Control register 1 (SPI_CTL1)
Address offset: 0x04
Reset value: 0x0000 0000
This register can be accessed by byte (8-bit) or half-word (16-bit) or word (32-bit).
Must be kept at reset value.
Transmit buffer empty interrupt enable
0: Disable TBE interrupt
1: Enable TBE interrupt. An interrupt is generated when the TBE bit is set.
Receive buffer not empty interrupt enable
0: Disable RBNE interrupt
1: Enable RBNE interrupt. An interrupt is generated when the RBNE bit is set.
Errors interrupt enable.
0: Disable error interrupt
1: Enable error interrupt. An interrupt is generated when the CRCERR bit or the
CONFERR bit or the FERR bit or the RXORERR bit or the TXURERR bit is set.
SPI TI mode enable.
0: Disable SPI TI mode
1: Enable SPI TI mode
SPI NSS pulse mode enable.
0: Disable SPI NSS pulse mode
1: Enable SPI NSS pulse mode
Drive NSS output
0: Disable master NSS output