[][src]Struct drone_cortex_m::map::reg::scb::ccr::Hold

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

Configuration and control register.

Methods

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn stkalign(&self) -> bool[src]

Force exception stacking start in double word aligned address.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_stkalign(&mut self) -> &mut Self[src]

Force exception stacking start in double word aligned address.

pub fn clear_stkalign(&mut self) -> &mut Self[src]

Force exception stacking start in double word aligned address.

pub fn toggle_stkalign(&mut self) -> &mut Self[src]

Force exception stacking start in double word aligned address.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn bfhfnmign(&self) -> bool[src]

Ignore data bus fault during HardFault and NMI handlers.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_bfhfnmign(&mut self) -> &mut Self[src]

Ignore data bus fault during HardFault and NMI handlers.

pub fn clear_bfhfnmign(&mut self) -> &mut Self[src]

Ignore data bus fault during HardFault and NMI handlers.

pub fn toggle_bfhfnmign(&mut self) -> &mut Self[src]

Ignore data bus fault during HardFault and NMI handlers.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn div_0_trp(&self) -> bool[src]

Trap on divide by 0.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_div_0_trp(&mut self) -> &mut Self[src]

Trap on divide by 0.

pub fn clear_div_0_trp(&mut self) -> &mut Self[src]

Trap on divide by 0.

pub fn toggle_div_0_trp(&mut self) -> &mut Self[src]

Trap on divide by 0.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn unalign_trp(&self) -> bool[src]

Trap on unaligned accesses.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_unalign_trp(&mut self) -> &mut Self[src]

Trap on unaligned accesses.

pub fn clear_unalign_trp(&mut self) -> &mut Self[src]

Trap on unaligned accesses.

pub fn toggle_unalign_trp(&mut self) -> &mut Self[src]

Trap on unaligned accesses.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn usersetmpend(&self) -> bool[src]

Enables unprivileged software access to Software Trigger Interrupt Register.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_usersetmpend(&mut self) -> &mut Self[src]

Enables unprivileged software access to Software Trigger Interrupt Register.

pub fn clear_usersetmpend(&mut self) -> &mut Self[src]

Enables unprivileged software access to Software Trigger Interrupt Register.

pub fn toggle_usersetmpend(&mut self) -> &mut Self[src]

Enables unprivileged software access to Software Trigger Interrupt Register.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn nonbasethrdena(&self) -> bool[src]

Non-base thread enable.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_nonbasethrdena(&mut self) -> &mut Self[src]

Non-base thread enable.

pub fn clear_nonbasethrdena(&mut self) -> &mut Self[src]

Non-base thread enable.

pub fn toggle_nonbasethrdena(&mut self) -> &mut Self[src]

Non-base thread enable.

Trait Implementations

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Unpin for Hold<'a, _T>

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]