pub struct GPIO_PIN15_DRIVER_R(/* private fields */);Expand description
Field GPIO_PIN15_DRIVER reader - 1: open drain; 0: normal
Implementations§
Source§impl GPIO_PIN15_DRIVER_R
impl GPIO_PIN15_DRIVER_R
Sourcepub fn variant(&self) -> GPIO_PIN15_DRIVER_A
pub fn variant(&self) -> GPIO_PIN15_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_PIN15_DRIVER_A>>§
Trait Implementations§
Source§impl Deref for GPIO_PIN15_DRIVER_R
impl Deref for GPIO_PIN15_DRIVER_R
Source§type Target = FieldReader<bool, GPIO_PIN15_DRIVER_A>
type Target = FieldReader<bool, GPIO_PIN15_DRIVER_A>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for GPIO_PIN15_DRIVER_R
impl RefUnwindSafe for GPIO_PIN15_DRIVER_R
impl Send for GPIO_PIN15_DRIVER_R
impl Sync for GPIO_PIN15_DRIVER_R
impl Unpin for GPIO_PIN15_DRIVER_R
impl UnwindSafe for GPIO_PIN15_DRIVER_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