pub enum PUPDR15R {
FLOATING,
PULLUP,
PULLDOWN,
_Reserved(u8),
}
Expand description
Possible values of the field PUPDR15
Variants§
Implementations§
Source§impl 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 Freeze for PUPDR15R
impl RefUnwindSafe for PUPDR15R
impl Send for PUPDR15R
impl Sync for PUPDR15R
impl Unpin for PUPDR15R
impl UnwindSafe for PUPDR15R
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