Type Alias atsame54n::can0::rxf0c::W

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

Register RXF0C writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn f0sa(&mut self) -> F0SA_W<'_, RXF0C_SPEC, 0>

Bits 0:15 - Rx FIFO 0 Start Address

source

pub fn f0s(&mut self) -> F0S_W<'_, RXF0C_SPEC, 16>

Bits 16:22 - Rx FIFO 0 Size

source

pub fn f0wm(&mut self) -> F0WM_W<'_, RXF0C_SPEC, 24>

Bits 24:30 - Rx FIFO 0 Watermark

source

pub fn f0om(&mut self) -> F0OM_W<'_, RXF0C_SPEC, 31>

Bit 31 - FIFO 0 Operation 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