Type Alias gd32e1::gd32e103::can0::ctl::W

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

Register CTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn iwmod(&mut self) -> IwmodW<'_, CtlSpec>

Bit 0 - Initial working mode

source

pub fn slpwmod(&mut self) -> SlpwmodW<'_, CtlSpec>

Bit 1 - Sleep working mode

source

pub fn tfo(&mut self) -> TfoW<'_, CtlSpec>

Bit 2 - Transmit FIFO order

source

pub fn rfod(&mut self) -> RfodW<'_, CtlSpec>

Bit 3 - Receive FIFO overwrite disable

source

pub fn ard(&mut self) -> ArdW<'_, CtlSpec>

Bit 4 - Automatic retransmission disable

source

pub fn awu(&mut self) -> AwuW<'_, CtlSpec>

Bit 5 - Automatic wakeup

source

pub fn abor(&mut self) -> AborW<'_, CtlSpec>

Bit 6 - Automatic bus-off recovery

source

pub fn ttc(&mut self) -> TtcW<'_, CtlSpec>

Bit 7 - Time-triggered communication

source

pub fn swrst(&mut self) -> SwrstW<'_, CtlSpec>

Bit 15 - Software reset

source

pub fn dfz(&mut self) -> DfzW<'_, CtlSpec>

Bit 16 - Debug freeze