#[repr(u8)]pub enum MODE_A {
OFF = 0,
INPUTCAPTURE = 1,
OUTPUTCOMPARE = 2,
PWM = 3,
}
Expand description
CC Channel Mode
Value on reset: 0
Variants§
OFF = 0
0: Compare/Capture channel turned off
INPUTCAPTURE = 1
1: Input capture
OUTPUTCOMPARE = 2
2: Output compare
PWM = 3
3: Pulse-Width Modulation
Trait Implementations§
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl Freeze for MODE_A
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_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