Enum stm32_metapac::spi::vals::Ckpol
#[repr(u8)]pub enum Ckpol {
IDLELOW = 0,
IDLEHIGH = 1,
}
Variants§
IDLELOW = 0
I2S clock inactive state is low level
IDLEHIGH = 1
I2S clock inactive state is high level
Implementations§
Trait Implementations§
§impl Ord for Ckpol
impl Ord for Ckpol
§impl PartialOrd for Ckpol
impl PartialOrd for Ckpol
§fn partial_cmp(&self, other: &Ckpol) -> Option<Ordering>
fn partial_cmp(&self, other: &Ckpol) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ckpol
impl Eq for Ckpol
impl StructuralPartialEq for Ckpol
Auto Trait Implementations§
impl Freeze for Ckpol
impl RefUnwindSafe for Ckpol
impl Send for Ckpol
impl Sync for Ckpol
impl Unpin for Ckpol
impl UnwindSafe for Ckpol
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