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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)