pub struct PUPDR0_R(/* private fields */);Expand description
Field PUPDR0 reader - Port x configuration bits (y = 0..15)
Implementations§
Source§impl 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>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PUPDR0_R
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more