Type Alias atsame54n::wdt::config::W

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

Register CONFIG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn per(&mut self) -> PER_W<'_, CONFIG_SPEC, 0>

Bits 0:3 - Time-Out Period

source

pub fn window(&mut self) -> WINDOW_W<'_, CONFIG_SPEC, 4>

Bits 4:7 - Window Mode Time-Out Period

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual