#[repr(u8)]pub enum Om2 {
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 Om2
impl Ord for Om2
Source§impl PartialOrd for Om2
impl PartialOrd for Om2
impl Copy for Om2
impl Eq for Om2
impl StructuralPartialEq for Om2
Auto Trait Implementations§
impl Freeze for Om2
impl RefUnwindSafe for Om2
impl Send for Om2
impl Sync for Om2
impl Unpin for Om2
impl UnwindSafe for Om2
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