Enum stm32_metapac::usart::vals::Cpol
#[repr(u8)]pub enum Cpol {
LOW = 0,
HIGH = 1,
}
Variants§
LOW = 0
Steady low value on CK pin outside transmission window
HIGH = 1
Steady high value on CK pin outside transmission window
Implementations§
Trait Implementations§
§impl Ord for Cpol
impl Ord for Cpol
§impl PartialOrd for Cpol
impl PartialOrd for Cpol
§fn partial_cmp(&self, other: &Cpol) -> Option<Ordering>
fn partial_cmp(&self, other: &Cpol) -> 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 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