Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn log_setting(&self) -> &LOG_SETTING

0x00 - log config regsiter

Source

pub const fn log_check_data(&self) -> &LOG_CHECK_DATA

0x04 - check data regsiter

Source

pub const fn log_data_mask(&self) -> &LOG_DATA_MASK

0x08 - check data mask register

Source

pub const fn log_min(&self) -> &LOG_MIN

0x0c - log boundary regsiter

Source

pub const fn log_max(&self) -> &LOG_MAX

0x10 - log boundary regsiter

Source

pub const fn log_mem_start(&self) -> &LOG_MEM_START

0x14 - log message store range register

Source

pub const fn log_mem_end(&self) -> &LOG_MEM_END

0x18 - log message store range register

Source

pub const fn log_mem_current_addr(&self) -> &LOG_MEM_CURRENT_ADDR

0x1c - current writing address.

Source

pub const fn log_mem_addr_update(&self) -> &LOG_MEM_ADDR_UPDATE

0x20 - writing address update

Source

pub const fn log_mem_full_flag(&self) -> &LOG_MEM_FULL_FLAG

0x24 - full flag status register

Source

pub const fn clock_gate(&self) -> &CLOCK_GATE

0x28 - clock gate force on register

Source

pub const fn date(&self) -> &DATE

0x3fc - version 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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.