#[repr(u8)]pub enum SckPol {
FALLING_EDGE = 0,
RISING_EDGE = 1,
}Variants§
FALLING_EDGE = 0
Data is launched on SCK falling edges and sampled on SCK rising edges (standard for I2S).
RISING_EDGE = 1
Data is launched on SCK rising edges and sampled on SCK falling edges.
Implementations§
Trait Implementations§
Source§impl Ord for SckPol
impl Ord for SckPol
Source§impl PartialOrd for SckPol
impl PartialOrd for SckPol
impl Copy for SckPol
impl Eq for SckPol
impl StructuralPartialEq for SckPol
Auto Trait Implementations§
impl Freeze for SckPol
impl RefUnwindSafe for SckPol
impl Send for SckPol
impl Sync for SckPol
impl Unpin for SckPol
impl UnwindSafe for SckPol
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