Struct atsamd51n::system_control::ccr::UNALIGN_TRP_R
source · [−]pub struct UNALIGN_TRP_R(_);
Expand description
Field UNALIGN_TRP
reader - Enables unaligned access traps
Implementations
sourceimpl UNALIGN_TRP_R
impl UNALIGN_TRP_R
sourcepub fn variant(&self) -> UNALIGN_TRP_A
pub fn variant(&self) -> UNALIGN_TRP_A
Get enumerated values variant
sourcepub fn is_value_0(&self) -> bool
pub fn is_value_0(&self) -> bool
Checks if the value of the field is VALUE_0
sourcepub fn is_value_1(&self) -> bool
pub fn is_value_1(&self) -> bool
Checks if the value of the field is VALUE_1
Methods from Deref<Target = FieldReader<bool, UNALIGN_TRP_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 UNALIGN_TRP_R
impl Deref for UNALIGN_TRP_R
type Target = FieldReader<bool, UNALIGN_TRP_A>
type Target = FieldReader<bool, UNALIGN_TRP_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for UNALIGN_TRP_R
impl Send for UNALIGN_TRP_R
impl Sync for UNALIGN_TRP_R
impl Unpin for UNALIGN_TRP_R
impl UnwindSafe for UNALIGN_TRP_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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