Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
    pub extscn: Reg<EXTSCN_SPEC>,
    pub intscn: Reg<INTSCN_SPEC>,
    pub secalm: Reg<SECALM_SPEC>,
    pub secdiag: Reg<SECDIAG_SPEC>,
    pub dlrtc: Reg<DLRTC_SPEC>,
    pub secst: Reg<SECST_SPEC>,
    /* private fields */
}
Expand description

Register block

Fields§

§extscn: Reg<EXTSCN_SPEC>

0x00 - External Sensor Control Register.

§intscn: Reg<INTSCN_SPEC>

0x04 - Internal Sensor Control Register.

§secalm: Reg<SECALM_SPEC>

0x08 - Security Alarm Register.

§secdiag: Reg<SECDIAG_SPEC>

0x0c - Security Diagnostic Register.

§dlrtc: Reg<DLRTC_SPEC>

0x10 - DRS Log RTC Value. This register contains the 32 bit value in the RTC second register when the last DRS event occurred.

§secst: Reg<SECST_SPEC>

0x34 - Security Monitor Status Register.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.