Type Alias gd32f1::gd32f190::can0::err::ErrnW

source ·
pub type ErrnW<'a, REG> = FieldWriterSafe<'a, REG, 3, Errn>;
Expand description

Field ERRN writer - Error number

Aliased Type§

struct ErrnW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> ErrnW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn no_error(self) -> &'a mut W<REG>

No Error

source

pub fn stuff(self) -> &'a mut W<REG>

Stuff Error

source

pub fn form(self) -> &'a mut W<REG>

Form Error

source

pub fn ack(self) -> &'a mut W<REG>

Acknowledgment Error

source

pub fn bit_recessive(self) -> &'a mut W<REG>

Bit recessive Error

source

pub fn bit_dominant(self) -> &'a mut W<REG>

Bit dominant Error

source

pub fn crc(self) -> &'a mut W<REG>

CRC Error

source

pub fn custom(self) -> &'a mut W<REG>

Set by software