Type Alias gd32f1::gd32f190::can0::tmi1::W

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

Register TMI1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ten(&mut self) -> TenW<'_, Tmi1Spec>

Bit 0 - Transmit enable

source

pub fn ft(&mut self) -> FtW<'_, Tmi1Spec>

Bit 1 - Frame type

source

pub fn ff(&mut self) -> FfW<'_, Tmi1Spec>

Bit 2 - Frame format

source

pub fn efid(&mut self) -> EfidW<'_, Tmi1Spec>

Bits 3:20 - The frame identifier

source

pub fn sfid_efid(&mut self) -> SfidEfidW<'_, Tmi1Spec>

Bits 21:31 - The frame identifier