#[repr(u8)]
pub enum MMC_A {
RESET,
ENABLE,
UPDATE,
CAPTURECOMPAREPULSE,
COMPAREO0C,
COMPAREO1C,
COMPAREO2C,
COMPAREO3C,
}
Expand description
Master mode control
Value on reset: 0
Variants
RESET
0: Use UPG bit from SWEVG register
ENABLE
1: Use CEN bit from CTL0 register
UPDATE
2: Use the update event
CAPTURECOMPAREPULSE
3: The trigger output send a positive pulse when a capture or a compare match occurred in channel 0
COMPAREO0C
4: O0CPRE signal is used as trigger output
COMPAREO1C
5: O1CPRE signal is used as trigger output
COMPAREO2C
6: O2CPRE signal is used as trigger output
COMPAREO3C
7: O3CPRE signal is used as trigger output
Trait Implementations
impl Copy for MMC_A
impl StructuralPartialEq for MMC_A
Auto Trait Implementations
impl RefUnwindSafe for MMC_A
impl Send for MMC_A
impl Sync for MMC_A
impl Unpin for MMC_A
impl UnwindSafe for MMC_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