#[repr(u8)]pub enum EXMODE_A {
DISABLE = 0,
HIGH = 1,
LOW = 2,
DACOUT = 3,
}
Expand description
Set GPIO mode
Value on reset: 0
Variants§
DISABLE = 0
0: Disabled
HIGH = 1
1: Push Pull, GPIO is driven high
LOW = 2
2: Push Pull, GPIO is driven low
DACOUT = 3
3: DAC output
Trait Implementations§
impl Copy for EXMODE_A
impl StructuralPartialEq for EXMODE_A
Auto Trait Implementations§
impl Freeze for EXMODE_A
impl RefUnwindSafe for EXMODE_A
impl Send for EXMODE_A
impl Sync for EXMODE_A
impl Unpin for EXMODE_A
impl UnwindSafe for EXMODE_A
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