Type Alias atsame54n::can0::rwd::W

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

Register RWD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wdc(&mut self) -> WDC_W<'_, RWD_SPEC, 0>

Bits 0:7 - Watchdog Configuration

source

pub fn wdv(&mut self) -> WDV_W<'_, RWD_SPEC, 8>

Bits 8:15 - Watchdog Value

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