Enum stm32_metapac::usart::vals::Cpha
#[repr(u8)]pub enum Cpha {
FIRST = 0,
SECOND = 1,
}
Variants§
FIRST = 0
The first clock transition is the first data capture edge
SECOND = 1
The second clock transition is the first data capture edge
Implementations§
Trait Implementations§
§impl Ord for Cpha
impl Ord for Cpha
§impl PartialOrd for Cpha
impl PartialOrd for Cpha
§fn partial_cmp(&self, other: &Cpha) -> Option<Ordering>
fn partial_cmp(&self, other: &Cpha) -> 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 Cpha
impl Eq for Cpha
impl StructuralPartialEq for Cpha
Auto Trait Implementations§
impl Freeze for Cpha
impl RefUnwindSafe for Cpha
impl Send for Cpha
impl Sync for Cpha
impl Unpin for Cpha
impl UnwindSafe for Cpha
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