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
Clock signal low when idle
Clock signal high when idle