Struct stm32f4xx_hal::pac::rcc::ahb1lpenr::GPIOALPEN_R
source · [−]pub struct GPIOALPEN_R(_);
Expand description
Field GPIOALPEN
reader - IO port A clock enable during sleep mode
Implementations
sourceimpl GPIOALPEN_R
impl GPIOALPEN_R
sourcepub fn variant(&self) -> GPIOALPEN_A
pub fn variant(&self) -> GPIOALPEN_A
Get enumerated values variant
sourcepub fn is_disabled_in_sleep(&self) -> bool
pub fn is_disabled_in_sleep(&self) -> bool
Checks if the value of the field is DISABLEDINSLEEP
sourcepub fn is_enabled_in_sleep(&self) -> bool
pub fn is_enabled_in_sleep(&self) -> bool
Checks if the value of the field is ENABLEDINSLEEP
Methods from Deref<Target = FieldReader<bool, GPIOALPEN_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 GPIOALPEN_R
impl Deref for GPIOALPEN_R
type Target = FieldReader<bool, GPIOALPEN_A>
type Target = FieldReader<bool, GPIOALPEN_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<GPIOALPEN_R as Deref>::Target
fn deref(&self) -> &<GPIOALPEN_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for GPIOALPEN_R
impl Send for GPIOALPEN_R
impl Sync for GPIOALPEN_R
impl Unpin for GPIOALPEN_R
impl UnwindSafe for GPIOALPEN_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