#[repr(u8)]pub enum Om1 {
DISABLED = 0,
TOGGLE = 1,
CLEAR = 2,
SET = 3,
PULSE = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
DISABLED = 0
Output disabled. No response on pin.
TOGGLE = 1
Toggle output pin
CLEAR = 2
Clear output pin
SET = 3
Set output pin
PULSE = 4
Generate a low pulse that is one input clock cycle wide on the output pin. When OMn is first programmed as 1xx, the output pin is set to one immediately on the next input clock (if it was not one already). “Input clock” here refers to the clock selected by the CLKSRC field of this register.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for Om1
impl Ord for Om1
Source§impl PartialOrd for Om1
impl PartialOrd for Om1
impl Copy for Om1
impl Eq for Om1
impl StructuralPartialEq for Om1
Auto Trait Implementations§
impl Freeze for Om1
impl RefUnwindSafe for Om1
impl Send for Om1
impl Sync for Om1
impl Unpin for Om1
impl UnwindSafe for Om1
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