#[repr(u8)]pub enum Tmode {
OneShot = 0,
Continuous = 1,
Counter = 2,
Capture = 4,
Compare = 5,
Gated = 6,
CaptureCompare = 7,
}Expand description
Timer Mode.
Value on reset: 0
Variants§
OneShot = 0
0: One Shot Mode.
Continuous = 1
1: Continuous Mode.
Counter = 2
2: Counter Mode.
Capture = 4
4: Capture Mode.
Compare = 5
5: Compare Mode.
Gated = 6
6: Gated Mode.
CaptureCompare = 7
7: Capture/Compare Mode.
Trait Implementations§
impl Copy for Tmode
impl Eq for Tmode
impl IsEnum for Tmode
impl StructuralPartialEq for Tmode
Auto Trait Implementations§
impl Freeze for Tmode
impl RefUnwindSafe for Tmode
impl Send for Tmode
impl Sync for Tmode
impl Unpin for Tmode
impl UnwindSafe for Tmode
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