Type Alias xmc4100::can_mo0::mostat::R

source ·
pub type R = R<MOSTAT_SPEC>;
Expand description

Register MOSTAT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rxpnd(&self) -> RXPND_R

Bit 0 - Receive Pending

source

pub fn txpnd(&self) -> TXPND_R

Bit 1 - Transmit Pending

source

pub fn rxupd(&self) -> RXUPD_R

Bit 2 - Receive Updating

source

pub fn newdat(&self) -> NEWDAT_R

Bit 3 - New Data

source

pub fn msglst(&self) -> MSGLST_R

Bit 4 - Message Lost

source

pub fn msgval(&self) -> MSGVAL_R

Bit 5 - Message Valid

source

pub fn rtsel(&self) -> RTSEL_R

Bit 6 - Receive/Transmit Selected

source

pub fn rxen(&self) -> RXEN_R

Bit 7 - Receive Enable

source

pub fn txrq(&self) -> TXRQ_R

Bit 8 - Transmit Request

source

pub fn txen0(&self) -> TXEN0_R

Bit 9 - Transmit Enable 0

source

pub fn txen1(&self) -> TXEN1_R

Bit 10 - Transmit Enable 1

source

pub fn dir(&self) -> DIR_R

Bit 11 - Message Direction

source

pub fn list(&self) -> LIST_R

Bits 12:15 - List Allocation

source

pub fn pprev(&self) -> PPREV_R

Bits 16:23 - Pointer to Previous Message Object

source

pub fn pnext(&self) -> PNEXT_R

Bits 24:31 - Pointer to Next Message Object