-
Notifications
You must be signed in to change notification settings - Fork 114
spisetmode
Ken Sharp edited this page Dec 8, 2023
·
1 revision
Set the mode (clock phase and polarity) of the specified SPI master channel.
SpiSetMode(unsigned char channel, unsigned char mode);
channel
The SPI master channel to configure.
mode
The SPI mode:
- 0 - Mode 0
- 1 - Mode 1
- 2 - Mode 2
- 3 - Mode 3
int status