Enum stm32_hal2::spi::SpiPolarity [−][src]
#[repr(u8)]
pub enum SpiPolarity {
IdleLow,
IdleHigh,
}Expand description
Clock polarity. Sets CFGR2 register, CPOL field. Stored in the config as a field of SpiMode.
Variants
IdleLow
Clock signal low when idle
IdleHigh
Clock signal high when idle