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

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

Application interrupt and reset control register.

Methods

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

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

Vector Key.

Register writes must write 0x05FA to this field, otherwise the write is ignored.

On reads, returns 0xFA05 .

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

pub fn write_vectkey(&mut self, bits: u32) -> &mut Self[src]

Vector Key.

Register writes must write 0x05FA to this field, otherwise the write is ignored.

On reads, returns 0xFA05 .

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

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

Data endianness bit.

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

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

Interrupt priority grouping field.

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

pub fn write_prigroup(&mut self, bits: u32) -> &mut Self[src]

Interrupt priority grouping field.

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

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

System reset request.

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

System reset request.

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

System reset request.

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

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

Clears all active state information for exceptions.

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

Clears all active state information for exceptions.

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

Clears all active state information for exceptions.

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

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

Resets the processor (except debug logic), but this will not reset circuits outside the processor.

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

Resets the processor (except debug logic), but this will not reset circuits outside the processor.

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

Resets the processor (except debug logic), but this will not reset circuits outside the processor.

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]