#[repr(u8)]
pub enum MODE_A {
INACTIVE,
PULL_DOWN,
PULL_UP,
REPEATER,
}
Expand description
Selects function mode (on-chip pull-up/pull-down resistor control).
Value on reset: 2
Variants
INACTIVE
0: Inactive. Inactive (no pull-down/pull-up resistor enabled).
PULL_DOWN
1: Pull-down. Pull-down resistor enabled.
PULL_UP
2: Pull-up. Pull-up resistor enabled.
REPEATER
3: Repeater. Repeater mode.
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more