Enum stm32_metapac::pssi::vals::Ckpol
#[repr(u8)]pub enum Ckpol {
FALLINGEDGE = 0,
RISINGEDGE = 1,
}
Variants§
FALLINGEDGE = 0
Falling edge active for inputs or rising edge active for outputs.
RISINGEDGE = 1
Rising edge active for inputs or falling edge active for outputs.
Implementations§
Trait Implementations§
§impl Ord for Ckpol
impl Ord for Ckpol
§impl PartialOrd for Ckpol
impl PartialOrd for Ckpol
impl Copy for Ckpol
impl Eq for Ckpol
impl StructuralPartialEq for Ckpol
Auto Trait Implementations§
impl Freeze for Ckpol
impl RefUnwindSafe for Ckpol
impl Send for Ckpol
impl Sync for Ckpol
impl Unpin for Ckpol
impl UnwindSafe for Ckpol
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
)