Type Alias atsame54n::can0::gfc::W

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

Register GFC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rrfe(&mut self) -> RRFE_W<'_, GFC_SPEC, 0>

Bit 0 - Reject Remote Frames Extended

source

pub fn rrfs(&mut self) -> RRFS_W<'_, GFC_SPEC, 1>

Bit 1 - Reject Remote Frames Standard

source

pub fn anfe(&mut self) -> ANFE_W<'_, GFC_SPEC, 2>

Bits 2:3 - Accept Non-matching Frames Extended

source

pub fn anfs(&mut self) -> ANFS_W<'_, GFC_SPEC, 4>

Bits 4:5 - Accept Non-matching Frames Standard

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