Serial Peripheral Interface (SPI) Peripheral Driver. More...
|
Modules | |
| xSPI | |
CoX SPI Peripheral Interface. | |
Serial Peripheral Interface (SPI) Peripheral Driver.
The Serial Peripheral Interface (SPI) is a synchronous serial data communication protocol which operates in full duplex mode. Devices communicate in master/slave mode with 4-wire bi-direction interface.
Configure the SPI controller as a master or a slave device. It should generate clock and chip-select signals if it is set as a master device.
Each SPI controller can generate an individual interrupt when data transfer is finished and the respective interrupt event flag IF will be set. The interrupt event flag will generates an interrupt to CPU if the interrupt enable bit IE is set.
Transfer and receive data.
will be added in the future