#[repr(u8)]
pub enum CKPOL_A {
RisingEdge,
FallingEdge,
BothEdges,
}
Expand description
CKPOL
Value on reset: 0
Variants
RisingEdge
0: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
FallingEdge
1: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
BothEdges
2: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.
Trait Implementations
impl Copy for CKPOL_A
impl StructuralPartialEq for CKPOL_A
Auto Trait Implementations
impl RefUnwindSafe for CKPOL_A
impl Send for CKPOL_A
impl Sync for CKPOL_A
impl Unpin for CKPOL_A
impl UnwindSafe for CKPOL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more