#[repr(u8)]
pub enum MODE_A {
OFF,
INPUTCAPTURE,
OUTPUTCOMPARE,
PWM,
}
Expand description
CC Channel Mode
Value on reset: 0
Variants
OFF
0: Compare/Capture channel turned off
INPUTCAPTURE
1: Input capture
OUTPUTCOMPARE
2: Output compare
PWM
3: Pulse-Width Modulation
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more