pub struct PUPDR0_R(_);
Expand description
Field PUPDR0
reader - Port x configuration bits (y = 0..15)
Implementations
sourceimpl PUPDR0_R
impl PUPDR0_R
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
Methods from Deref<Target = FieldReader<u8, PUPDR0_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PUPDR0_R
impl Send for PUPDR0_R
impl Sync for PUPDR0_R
impl Unpin for PUPDR0_R
impl UnwindSafe for PUPDR0_R
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