pub enum PUPDR15R {
FLOATING,
PULLUP,
PULLDOWN,
_Reserved(u8),
}
Expand description
Possible values of the field PUPDR15
Variants
FLOATING
No pull-up, pull-down
PULLUP
Pull-up
PULLDOWN
Pull-down
_Reserved(u8)
Reserved
Implementations
sourceimpl PUPDR15R
impl PUPDR15R
sourcepub fn is_floating(&self) -> bool
pub fn is_floating(&self) -> bool
Checks if the value of the field is FLOATING
sourcepub fn is_pull_up(&self) -> bool
pub fn is_pull_up(&self) -> bool
Checks if the value of the field is PULLUP
sourcepub fn is_pull_down(&self) -> bool
pub fn is_pull_down(&self) -> bool
Checks if the value of the field is PULLDOWN
Trait Implementations
impl Copy for PUPDR15R
impl StructuralPartialEq for PUPDR15R
Auto Trait Implementations
impl RefUnwindSafe for PUPDR15R
impl Send for PUPDR15R
impl Sync for PUPDR15R
impl Unpin for PUPDR15R
impl UnwindSafe for PUPDR15R
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