-
#include "utility/template/spi.h" -
cirque_pinnacle_arduino_wrappers::SPISettings::SPISettings(uint32_t clock, BitOrder bitOrder, DataMode dataMode);
- Parameters¶
- uint32_t clock¶
The SPI speed (in Hz) to be used.
- BitOrder bitOrder¶
The Endianess to be used. Options are:
- DataMode dataMode¶
The clock phase and polarity to be used. Options are:
dataModeClock Polarity (CPOL)
Clock Phase (CPHA)
Output Edge
Capture Edge
0
0
Falling
Rising
0
1
Rising
Falling
1
0
Rising
Falling
1
1
Falling
Rising