#[repr(u8)]
pub enum PULL_A {
DISABLED,
PULLDOWN,
PULLUP,
}
Expand description
Pull configuration
Value on reset: 0
Variants
DISABLED
0: No pull
PULLDOWN
1: Pull down on pin
PULLUP
3: Pull up on pin
Trait Implementations
impl Copy for PULL_A
impl StructuralPartialEq for PULL_A
Auto Trait Implementations
impl RefUnwindSafe for PULL_A
impl Send for PULL_A
impl Sync for PULL_A
impl Unpin for PULL_A
impl UnwindSafe for PULL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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