Type Alias atsame54n::can0::txbc::W

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

Register TXBC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tbsa(&mut self) -> TBSA_W<'_, TXBC_SPEC, 0>

Bits 0:15 - Tx Buffers Start Address

source

pub fn ndtb(&mut self) -> NDTB_W<'_, TXBC_SPEC, 16>

Bits 16:21 - Number of Dedicated Transmit Buffers

source

pub fn tfqs(&mut self) -> TFQS_W<'_, TXBC_SPEC, 24>

Bits 24:29 - Transmit FIFO/Queue Size

source

pub fn tfqm(&mut self) -> TFQM_W<'_, TXBC_SPEC, 30>

Bit 30 - Tx FIFO/Queue Mode

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual