Type Alias xmc4200::can_node0::nsr::W

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

Register NSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lec(&mut self) -> LEC_W<'_, NSR_SPEC>

Bits 0:2 - Last Error Code

source

pub fn txok(&mut self) -> TXOK_W<'_, NSR_SPEC>

Bit 3 - Message Transmitted Successfully

source

pub fn rxok(&mut self) -> RXOK_W<'_, NSR_SPEC>

Bit 4 - Message Received Successfully

source

pub fn alert(&mut self) -> ALERT_W<'_, NSR_SPEC>

Bit 5 - Alert Warning

source

pub fn lle(&mut self) -> LLE_W<'_, NSR_SPEC>

Bit 8 - List Length Error

source

pub fn loe(&mut self) -> LOE_W<'_, NSR_SPEC>

Bit 9 - List Object Error