The programming model is defined in the SPI register set, which includes control and status plus TX and RX data ports.
The programming model can be divided into these sections:
- Configuration and mode control
- Master mode
- Slave mode
- Data Loopback Mode