-
Notifications
You must be signed in to change notification settings - Fork 115
fw spisetmode
Ken Sharp edited this page Dec 10, 2025
·
2 revisions
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