pub struct GPIO_PIN6_DRIVER_R(_);Expand description
Field GPIO_PIN6_DRIVER reader - 1: open drain; 0: normal
Implementations
sourceimpl GPIO_PIN6_DRIVER_R
impl GPIO_PIN6_DRIVER_R
sourcepub fn variant(&self) -> GPIO_PIN6_DRIVER_A
pub fn variant(&self) -> GPIO_PIN6_DRIVER_A
Get enumerated values variant
sourcepub fn is_open_drain(&self) -> bool
pub fn is_open_drain(&self) -> bool
Checks if the value of the field is OPEN_DRAIN
Methods from Deref<Target = FieldReader<bool, GPIO_PIN6_DRIVER_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
sourceimpl Deref for GPIO_PIN6_DRIVER_R
impl Deref for GPIO_PIN6_DRIVER_R
type Target = FieldReader<bool, GPIO_PIN6_DRIVER_A>
type Target = FieldReader<bool, GPIO_PIN6_DRIVER_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for GPIO_PIN6_DRIVER_R
impl Send for GPIO_PIN6_DRIVER_R
impl Sync for GPIO_PIN6_DRIVER_R
impl Unpin for GPIO_PIN6_DRIVER_R
impl UnwindSafe for GPIO_PIN6_DRIVER_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