Type Alias xmc4400::can_node0::nsr::R

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

Register NSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn lec(&self) -> LEC_R

Bits 0:2 - Last Error Code

source

pub fn txok(&self) -> TXOK_R

Bit 3 - Message Transmitted Successfully

source

pub fn rxok(&self) -> RXOK_R

Bit 4 - Message Received Successfully

source

pub fn alert(&self) -> ALERT_R

Bit 5 - Alert Warning

source

pub fn ewrn(&self) -> EWRN_R

Bit 6 - Error Warning Status

source

pub fn boff(&self) -> BOFF_R

Bit 7 - Bus-off Status

source

pub fn lle(&self) -> LLE_R

Bit 8 - List Length Error

source

pub fn loe(&self) -> LOE_R

Bit 9 - List Object Error

source

pub fn susack(&self) -> SUSACK_R

Bit 10 - Suspend Acknowledge