pub enum PDD11R {
_0,
_1,
}Expand description
Possible values of the field PDD11
Variants§
_0
Pin is configured as general-purpose input, for the GPIO function.
_1
Pin is configured as general-purpose output, for the GPIO function.
Implementations§
Source§impl PDD11R
impl PDD11R
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§
impl Copy for PDD11R
impl StructuralPartialEq for PDD11R
Auto Trait Implementations§
impl Freeze for PDD11R
impl RefUnwindSafe for PDD11R
impl Send for PDD11R
impl Sync for PDD11R
impl Unpin for PDD11R
impl UnwindSafe for PDD11R
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