Type Alias xmc4800::can_node0::nsr::R

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

Register NSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn lec(&self) -> LecR

Bits 0:2 - Last Error Code

source

pub fn txok(&self) -> TxokR

Bit 3 - Message Transmitted Successfully

source

pub fn rxok(&self) -> RxokR

Bit 4 - Message Received Successfully

source

pub fn alert(&self) -> AlertR

Bit 5 - Alert Warning

source

pub fn ewrn(&self) -> EwrnR

Bit 6 - Error Warning Status

source

pub fn boff(&self) -> BoffR

Bit 7 - Bus-off Status

source

pub fn lle(&self) -> LleR

Bit 8 - List Length Error

source

pub fn loe(&self) -> LoeR

Bit 9 - List Object Error