Type Alias gd32f1::gd32f190::can0::tstat::R

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

Register TSTAT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mtf0(&self) -> Mtf0R

Bit 0 - Mailbox 0 transmit finished

source

pub fn mtfnerr0(&self) -> Mtfnerr0R

Bit 1 - Mailbox 0 transmit finished and no error

source

pub fn mal0(&self) -> Mal0R

Bit 2 - Mailbox 0 arbitration lost

source

pub fn mte0(&self) -> Mte0R

Bit 3 - Mailbox 0 transmit error

source

pub fn mst0(&self) -> Mst0R

Bit 7 - Mailbox 0 stop transmitting

source

pub fn mtf1(&self) -> Mtf1R

Bit 8 - Mailbox 1 transmit finished

source

pub fn mtfnerr1(&self) -> Mtfnerr1R

Bit 9 - Mailbox 1 transmit finished and no error

source

pub fn mal1(&self) -> Mal1R

Bit 10 - Mailbox 1 arbitration lost

source

pub fn mte1(&self) -> Mte1R

Bit 11 - Mailbox 1 transmit error

source

pub fn mst1(&self) -> Mst1R

Bit 15 - Mailbox 1 stop transmitting

source

pub fn mtf2(&self) -> Mtf2R

Bit 16 - Mailbox 2 transmit finished

source

pub fn mtfnerr2(&self) -> Mtfnerr2R

Bit 17 - Mailbox 2 transmit finished and no error

source

pub fn mal2(&self) -> Mal2R

Bit 18 - Mailbox 2 arbitration lost

source

pub fn mte2(&self) -> Mte2R

Bit 19 - Mailbox 2 transmit error

source

pub fn mst2(&self) -> Mst2R

Bit 23 - Mailbox 2 stop transmitting

source

pub fn num(&self) -> NumR

Bits 24:25 - number of the transmit FIFO mailbox in which the frame will be transmitted if at least one mailbox is empty

source

pub fn tme0(&self) -> Tme0R

Bit 26 - Transmit mailbox 0 empty

source

pub fn tme1(&self) -> Tme1R

Bit 27 - Transmit mailbox 1 empty

source

pub fn tme2(&self) -> Tme2R

Bit 28 - Transmit mailbox 2 empty

source

pub fn tmls0(&self) -> Tmls0R

Bit 29 - Transmit mailbox 0 last sending in transmit FIFO

source

pub fn tmls1(&self) -> Tmls1R

Bit 30 - Transmit mailbox 1 last sending in transmit FIFO

source

pub fn tmls2(&self) -> Tmls2R

Bit 31 - Transmit mailbox 2 last sending in transmit FIFO