MSGBOX

Struct MSGBOX 

Source
pub struct MSGBOX { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl MSGBOX

Source

pub const fn msgbox_rd_irq_en(&self) -> &MSGBOX_RD_IRQ_EN

0x20 - Message Box Read Interrupt Enable Register

Source

pub const fn msgbox_rd_irq_status(&self) -> &MSGBOX_RD_IRQ_STATUS

0x24 - Message Box Read Interrupt Status Register

Source

pub const fn msgbox_wr_irq_en(&self) -> &MSGBOX_WR_IRQ_EN

0x30 - Message Box Write Interrupt Enable Register

Source

pub const fn msgbox_wr_irq_status(&self) -> &MSGBOX_WR_IRQ_STATUS

0x34 - Message Box Write Interrupt Status Register

Source

pub const fn msgbox_debug(&self) -> &MSGBOX_DEBUG

0x40 - Message Box Debug Register

Source

pub const fn msgbox_fifo_status(&self, n: usize) -> &MSGBOX_FIFO_STATUS

0x50..0x60 - Message Box FIFO Status Register

Source

pub const fn msgbox_msg_status(&self, n: usize) -> &MSGBOX_MSG_STATUS

0x60..0x70 - Message Box Message Status Register

Source

pub const fn msgbox_msg(&self, n: usize) -> &MSGBOX_MSG

0x70..0x80 - Message Box Message Queue Register

Source

pub const fn msgbox_wr_int_threshold( &self, n: usize, ) -> &MSGBOX_WR_INT_THRESHOLD

0x80..0x90 - Message Box Write Interrupt Threshold Register

Auto Trait Implementations§

§

impl !Freeze for MSGBOX

§

impl !RefUnwindSafe for MSGBOX

§

impl Send for MSGBOX

§

impl !Sync for MSGBOX

§

impl Unpin for MSGBOX

§

impl UnwindSafe for MSGBOX

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.