#[repr(u8)]
pub enum PUD8_A {
FLOATING,
PULLUP,
PULLDOWN,
}
Expand description
Pin 0 pull-up or pull-down bits
Value on reset: 0
Variants
FLOATING
0: No pull-up, pull-down (reset state)
PULLUP
1: Pull-up
PULLDOWN
2: Pull-down
Trait Implementations
impl Copy for PUD0_A
impl StructuralPartialEq for PUD0_A
Auto Trait Implementations
impl RefUnwindSafe for PUD0_A
impl Send for PUD0_A
impl Sync for PUD0_A
impl Unpin for PUD0_A
impl UnwindSafe for PUD0_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