Type Alias atsame54n::wdt::ewctrl::W

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

Register EWCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ewoffset(&mut self) -> EWOFFSET_W<'_, EWCTRL_SPEC, 0>

Bits 0:3 - Early Warning Interrupt Time Offset

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