#[repr(u8)]pub enum REPMODE_A {
FREE = 0,
ONESHOT = 1,
BUFFERED = 2,
DOUBLE = 3,
}
Expand description
Repeat Mode
Value on reset: 0
Variants§
FREE = 0
0: When started, the LETIMER counts down until it is stopped by software.
ONESHOT = 1
1: The counter counts REP0 times. When REP0 reaches zero, the counter stops.
BUFFERED = 2
2: The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when REP0 reaches zero. Else the counter stops
DOUBLE = 3
3: Both REP0 and REP1 are decremented when the LETIMER wraps around. The LETIMER counts until both REP0 and REP1 are zero
Trait Implementations§
impl Copy for REPMODE_A
impl StructuralPartialEq for REPMODE_A
Auto Trait Implementations§
impl Freeze for REPMODE_A
impl RefUnwindSafe for REPMODE_A
impl Send for REPMODE_A
impl Sync for REPMODE_A
impl Unpin for REPMODE_A
impl UnwindSafe for REPMODE_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