Struct drone_cortexm::map::reg::scb::icsr::Hold [−][src]
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]
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]
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,