| Author | Sebastien Lelong© 2011..2025, all rights reserved. |
| Adapted-by | Rob Jansen |
| Compiler | 2.5r9 |
SPI Host common constant definition, used both by MSSP1 and MSSP2
No dependency found
const SPI_MODE_10 = 2
Clock SPI data when SCK goes from high to low. SCK is inactive high.
const SPI_MODE_00 = 0
Use these when calling the spi_init() routine below (SPI host mode).
const SPI_MODE_11 = 3
Clock SPI data when SCK goes from low to high. SCK is inactive high.
const SPI_MODE_01 = 1
Clock SPI data when SCK goes from high to low. SCK is inactive low