Expand description
Field CKPOL
writer - CKPOL
Implementations
sourceimpl<'a, const O: u8> CKPOL_W<'a, O>
impl<'a, const O: u8> CKPOL_W<'a, O>
sourcepub fn rising_edge(self) -> &'a mut W
pub fn rising_edge(self) -> &'a mut W
The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
sourcepub fn falling_edge(self) -> &'a mut W
pub fn falling_edge(self) -> &'a mut W
The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
sourcepub fn both_edges(self) -> &'a mut W
pub fn both_edges(self) -> &'a mut W
Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.