Enum Cpha
#[repr(u8)]pub enum Cpha {
LEADING = 0,
TRAILING = 1,
}
Variants§
LEADING = 0
Sample on leading edge of clock, shift serial data on trailing edge
TRAILING = 1
Sample on trailing edge of clock, shift serial data on leading edge
Implementations§
Trait Implementations§
§impl Ord for Cpha
impl Ord for Cpha
§impl PartialOrd for Cpha
impl PartialOrd for Cpha
impl 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