#[repr(u8)]pub enum O2res {
NO_CHANGE = 0,
SET = 1,
CLEAR = 2,
TOGGLE_OUTPUT = 3,
}Variants§
NO_CHANGE = 0
No change.
SET = 1
Set output (or clear based on the SETCLR2 field in the OUTPUTDIRCTRL register).
CLEAR = 2
Clear output n (or set based on the SETCLR2 field).
TOGGLE_OUTPUT = 3
Toggle output.
Implementations§
Trait Implementations§
Source§impl Ord for O2res
impl Ord for O2res
Source§impl PartialOrd for O2res
impl PartialOrd for O2res
impl Copy for O2res
impl Eq for O2res
impl StructuralPartialEq for O2res
Auto Trait Implementations§
impl Freeze for O2res
impl RefUnwindSafe for O2res
impl Send for O2res
impl Sync for O2res
impl Unpin for O2res
impl UnwindSafe for O2res
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