#[repr(u8)]pub enum Mmc {
Reset = 0,
Enable = 1,
Update = 2,
CaptureComparePulse = 3,
CompareO0c = 4,
CompareO1c = 5,
CompareO2c = 6,
CompareO3c = 7,
}
Expand description
Master mode control
Value on reset: 0
Variants§
Reset = 0
0: Use UPG bit from SWEVG register
Enable = 1
1: Use CEN bit from CTL0 register
Update = 2
2: Use the update event
CaptureComparePulse = 3
3: The trigger output send a positive pulse when a capture or a compare match occurred in channel 0
CompareO0c = 4
4: O0CPRE signal is used as trigger output
CompareO1c = 5
5: O1CPRE signal is used as trigger output
CompareO2c = 6
6: O2CPRE signal is used as trigger output
CompareO3c = 7
7: O3CPRE signal is used as trigger output
Trait Implementations§
impl Copy for Mmc
impl Eq for Mmc
impl StructuralPartialEq for Mmc
Auto Trait Implementations§
impl Freeze for Mmc
impl RefUnwindSafe for Mmc
impl Send for Mmc
impl Sync for Mmc
impl Unpin for Mmc
impl UnwindSafe for Mmc
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