Struct drone_cortexm::map::reg::scb::ufsr::Hold [−][src]
UsageFault Status Register.
Implementations
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_divbyzero(&mut self) -> &mut Self
[src][−]
Divide by zero error has occurred.
pub fn clear_divbyzero(&mut self) -> &mut Self
[src][−]
Divide by zero error has occurred.
pub fn toggle_divbyzero(&mut self) -> &mut Self
[src][−]
Divide by zero error has occurred.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_unaligned(&mut self) -> &mut Self
[src][−]
Unaligned access error has occurred.
pub fn clear_unaligned(&mut self) -> &mut Self
[src][−]
Unaligned access error has occurred.
pub fn toggle_unaligned(&mut self) -> &mut Self
[src][−]
Unaligned access error has occurred.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn nocp(&self) -> bool
[src][−]
A coprocessor access error has occurred. This shows that the coprocessor is disabled or not present.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_nocp(&mut self) -> &mut Self
[src][−]
A coprocessor access error has occurred. This shows that the coprocessor is disabled or not present.
pub fn clear_nocp(&mut self) -> &mut Self
[src][−]
A coprocessor access error has occurred. This shows that the coprocessor is disabled or not present.
pub fn toggle_nocp(&mut self) -> &mut Self
[src][−]
A coprocessor access error has occurred. This shows that the coprocessor is disabled or not present.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_invpc(&mut self) -> &mut Self
[src][−]
An integrity check error has occurred on EXC_RETURN.
pub fn clear_invpc(&mut self) -> &mut Self
[src][−]
An integrity check error has occurred on EXC_RETURN.
pub fn toggle_invpc(&mut self) -> &mut Self
[src][−]
An integrity check error has occurred on EXC_RETURN.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_invstate(&mut self) -> &mut Self
[src][−]
Instruction executed with invalid EPSR.T or EPSR.IT field.
pub fn clear_invstate(&mut self) -> &mut Self
[src][−]
Instruction executed with invalid EPSR.T or EPSR.IT field.
pub fn toggle_invstate(&mut self) -> &mut Self
[src][−]
Instruction executed with invalid EPSR.T or EPSR.IT field.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn undefinstr(&self) -> bool
[src][−]
The processor has attempted to execute an undefined instruction.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_undefinstr(&mut self) -> &mut Self
[src][−]
The processor has attempted to execute an undefined instruction.
pub fn clear_undefinstr(&mut self) -> &mut Self
[src][−]
The processor has attempted to execute an undefined instruction.
pub fn toggle_undefinstr(&mut self) -> &mut Self
[src][−]
The processor has attempted to execute an undefined instruction.
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,
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>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,