Enum stm32wlxx_hal::pac::lptim3::cfgr::CKPOL_A
#[repr(u8)]pub enum CKPOL_A {
RisingEdge = 0,
FallingEdge = 1,
BothEdges = 2,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
CKPOL
Value on reset: 0
Variants§
RisingEdge = 0
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
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
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§
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