#[repr(u8)]pub enum Clkpol {
FALLING_EDGE = 0,
RISING_EDGE = 1,
}Variants§
FALLING_EDGE = 0
Falling edge. Un_RXD is sampled on the falling edge of SCLK.
RISING_EDGE = 1
Rising edge. Un_RXD is sampled on the rising edge of SCLK.
Implementations§
Trait Implementations§
Source§impl Ord for Clkpol
impl Ord for Clkpol
Source§impl PartialOrd for Clkpol
impl PartialOrd for Clkpol
impl Copy for Clkpol
impl Eq for Clkpol
impl StructuralPartialEq for Clkpol
Auto Trait Implementations§
impl Freeze for Clkpol
impl RefUnwindSafe for Clkpol
impl Send for Clkpol
impl Sync for Clkpol
impl Unpin for Clkpol
impl UnwindSafe for Clkpol
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