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

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

UsageFault Status Register.

Implementations

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

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

Divide by zero error has occurred.

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]

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

Unaligned access error has occurred.

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]

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

An integrity check error has occurred on EXC_RETURN.

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]

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

Instruction executed with invalid EPSR.T or EPSR.IT field.

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

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.