pub type SPIMODE_W<'a, const O: u8> = BitWriter<'a, u32, IFCONFIG1_SPEC, SPIMODE_A, O>;
Expand description

Field SPIMODE writer - Select SPI mode.

Implementations

Mode 0: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 0 (CPOL=0, CPHA=0).

Mode 3: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 1 (CPOL=1, CPHA=1).