Enum nrf52840_pac::spis0::config::CPHA_A
source · pub enum CPHA_A {
LEADING = 0,
TRAILING = 1,
}
Expand description
Serial clock (SCK) phase
Value on reset: 0
Variants§
LEADING = 0
0: Sample on leading edge of clock, shift serial data on trailing edge
TRAILING = 1
1: Sample on trailing edge of clock, shift serial data on leading edge
Trait Implementations§
impl Copy for CPHA_A
impl StructuralPartialEq for CPHA_A
Auto Trait Implementations§
impl Freeze for CPHA_A
impl RefUnwindSafe for CPHA_A
impl Send for CPHA_A
impl Sync for CPHA_A
impl Unpin for CPHA_A
impl UnwindSafe for CPHA_A
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
)