Struct gd32f1x0_hal::pac::syscfg::cfg2::LOCKUP_LOCK_R [−][src]
pub struct LOCKUP_LOCK_R(_);
Expand description
Field LOCKUP_LOCK
reader - Cortex-M3 LOCKUP output lock
Implementations
impl LOCKUP_LOCK_R
[src]
impl LOCKUP_LOCK_R
[src]pub fn variant(&self) -> LOCKUP_LOCK_A
[src]
pub fn variant(&self) -> LOCKUP_LOCK_A
[src]Get enumerated values variant
pub fn is_unlocked(&self) -> bool
[src]
pub fn is_unlocked(&self) -> bool
[src]Checks if the value of the field is UNLOCKED
Methods from Deref<Target = FieldReader<bool, LOCKUP_LOCK_A>>
pub fn bit_is_clear(&self) -> bool
[src]
pub fn bit_is_clear(&self) -> bool
[src]Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
pub fn bit_is_set(&self) -> bool
[src]Returns true
if the bit is set (1).
Trait Implementations
impl Deref for LOCKUP_LOCK_R
[src]
impl Deref for LOCKUP_LOCK_R
[src]type Target = FieldReader<bool, LOCKUP_LOCK_A>
type Target = FieldReader<bool, LOCKUP_LOCK_A>
The resulting type after dereferencing.
pub fn deref(&self) -> &<LOCKUP_LOCK_R as Deref>::Target
[src]
pub fn deref(&self) -> &<LOCKUP_LOCK_R as Deref>::Target
[src]Dereferences the value.