Struct drone_cortexm::map::reg::scb::icsr::Hold[][src]

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

Provides software control of the NMI, PendSV, and SysTick exceptions, and provides interrupt status information.

Implementations

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

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

NMI set-pending bit.

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

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

NMI set-pending bit.

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

NMI set-pending bit.

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

NMI set-pending bit.

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

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

PendSV set-pending bit.

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

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

PendSV set-pending bit.

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

PendSV set-pending bit.

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

PendSV set-pending bit.

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

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

PendSV clear-pending bit.

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

PendSV clear-pending bit.

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

PendSV clear-pending bit.

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

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

SysTick exception set-pending bit.

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

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

SysTick exception set-pending bit.

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

SysTick exception set-pending bit.

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

SysTick exception set-pending bit.

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

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

SysTick exception clear-pending bit.

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

SysTick exception clear-pending bit.

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

SysTick exception clear-pending bit.

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

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

Interrupt pending flag, excluding NMI and Faults.

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

pub fn vectpending(&self) -> u32[src]

Pending vector. Indicates the exception number of the highest priority pending enabled exception.

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

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

Return to base level. Indicates whether there are preempted active exceptions.

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

pub fn vectactive(&self) -> u32[src]

Active vector. Contains the active exception number.

Trait Implementations

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

Auto Trait Implementations

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

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

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

Blanket Implementations

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

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

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

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

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

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

type Output = T

Should always be Self

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> 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.