[][src]Struct ht32f2xxxx::ht32f22366::fault_reports::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub hfsr: HFSR,
    pub dfsr: DFSR,
    pub mmfar: MMFAR,
    pub bfar: BFAR,
    pub afsr: AFSR,
    // some fields omitted
}

Register block

Fields

hfsr: HFSR

0x04 - HFSR

dfsr: DFSR

0x08 - DFSR

mmfar: MMFAR

0x0c - MMFAR

bfar: BFAR

0x10 - BFAR

afsr: AFSR

0x14 - AFSR

Implementations

impl RegisterBlock[src]

pub fn mfsr(&self) -> &MFSR[src]

0x00 - MFSR

pub fn mfsr_mut(&self) -> &mut MFSR[src]

0x00 - MFSR

pub fn cfsr(&self) -> &CFSR[src]

0x00 - CFSR

pub fn cfsr_mut(&self) -> &mut CFSR[src]

0x00 - CFSR

pub fn bfsr(&self) -> &BFSR[src]

0x01 - BFSR

pub fn bfsr_mut(&self) -> &mut BFSR[src]

0x01 - BFSR

pub fn ufsr(&self) -> &UFSR[src]

0x02 - UFSR

pub fn ufsr_mut(&self) -> &mut UFSR[src]

0x02 - UFSR

Auto Trait Implementations

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

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.