pub enum CPOL {
IdleLow = 0,
IdleHigh = 1,
}
Expand description
Clock polarity Note: This bit should not be changed when communication is ongoing. This bit is not used in I2S mode and SPI TI mode except the case when CRC is applied at TI mode.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for CPOL
impl Eq for CPOL
impl StructuralPartialEq for CPOL
Auto Trait Implementations§
impl Freeze for CPOL
impl RefUnwindSafe for CPOL
impl Send for CPOL
impl Sync for CPOL
impl Unpin for CPOL
impl UnwindSafe for CPOL
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more