Struct alt_stm32f30x_hal::stm32::syscfg::cfgr2::LOCKUP_LOCK_R
source · [−]pub struct LOCKUP_LOCK_R(_);
Expand description
Field LOCKUP_LOCK
reader - Cortex-M0 LOCKUP bit enable bit
Implementations
sourceimpl LOCKUP_LOCK_R
impl LOCKUP_LOCK_R
sourcepub fn variant(&self) -> LOCKUP_LOCK_A
pub fn variant(&self) -> LOCKUP_LOCK_A
Get enumerated values variant
sourcepub fn is_disconnected(&self) -> bool
pub fn is_disconnected(&self) -> bool
Checks if the value of the field is DISCONNECTED
sourcepub fn is_connected(&self) -> bool
pub fn is_connected(&self) -> bool
Checks if the value of the field is CONNECTED
Methods from Deref<Target = FieldReader<bool, LOCKUP_LOCK_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 LOCKUP_LOCK_R
impl Deref for LOCKUP_LOCK_R
type Target = FieldReader<bool, LOCKUP_LOCK_A>
type Target = FieldReader<bool, LOCKUP_LOCK_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<LOCKUP_LOCK_R as Deref>::Target
fn deref(&self) -> &<LOCKUP_LOCK_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for LOCKUP_LOCK_R
impl Send for LOCKUP_LOCK_R
impl Sync for LOCKUP_LOCK_R
impl Unpin for LOCKUP_LOCK_R
impl UnwindSafe for LOCKUP_LOCK_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