#[repr(u8)]pub enum Timod {
Disable = 0,
Dual8bitBaud = 1,
Dual8bitPwmH = 2,
Single16bit = 3,
Single16bitDisable = 4,
Dual8bitWord = 5,
Dual8bitPwmL = 6,
Single16bitInCapture = 7,
}Expand description
Timer Mode
Value on reset: 0
Variants§
Disable = 0
0: Timer disabled
Dual8bitBaud = 1
1: Dual 8-bit counters baud mode
Dual8bitPwmH = 2
2: Dual 8-bit counters PWM high mode
Single16bit = 3
3: Single 16-bit counter mode
Single16bitDisable = 4
4: Single 16-bit counter disable mode
Dual8bitWord = 5
5: Dual 8-bit counters word mode
Dual8bitPwmL = 6
6: Dual 8-bit counters PWM low mode
Single16bitInCapture = 7
7: Single 16-bit input capture mode
Trait Implementations§
impl Copy for Timod
impl Eq for Timod
impl IsEnum for Timod
impl StructuralPartialEq for Timod
Auto Trait Implementations§
impl Freeze for Timod
impl RefUnwindSafe for Timod
impl Send for Timod
impl Sync for Timod
impl Unpin for Timod
impl UnsafeUnpin for Timod
impl UnwindSafe for Timod
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