Struct lpc55_pac::syscon::debug_features::CPU1_DBGEN_R
source · [−]pub struct CPU1_DBGEN_R(_);
Expand description
Field CPU1_DBGEN
reader - CPU1 Invasive debug control:.
Implementations
sourceimpl CPU1_DBGEN_R
impl CPU1_DBGEN_R
sourcepub fn variant(&self) -> Option<CPU1_DBGEN_A>
pub fn variant(&self) -> Option<CPU1_DBGEN_A>
Get enumerated values variant
sourcepub fn is_disable(&self) -> bool
pub fn is_disable(&self) -> bool
Checks if the value of the field is DISABLE
Methods from Deref<Target = FieldReader<u8, CPU1_DBGEN_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 CPU1_DBGEN_R
impl Deref for CPU1_DBGEN_R
type Target = FieldReader<u8, CPU1_DBGEN_A>
type Target = FieldReader<u8, CPU1_DBGEN_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for CPU1_DBGEN_R
impl Send for CPU1_DBGEN_R
impl Sync for CPU1_DBGEN_R
impl Unpin for CPU1_DBGEN_R
impl UnwindSafe for CPU1_DBGEN_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