Type Alias atsamd51p::eic::dprescaler::W

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

Register DPRESCALER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn prescaler0(&mut self) -> PRESCALER0_W<'_, DPRESCALER_SPEC, 0>

Bits 0:2 - Debouncer Prescaler

source

pub fn states0(&mut self) -> STATES0_W<'_, DPRESCALER_SPEC, 3>

Bit 3 - Debouncer number of states

source

pub fn prescaler1(&mut self) -> PRESCALER1_W<'_, DPRESCALER_SPEC, 4>

Bits 4:6 - Debouncer Prescaler

source

pub fn states1(&mut self) -> STATES1_W<'_, DPRESCALER_SPEC, 7>

Bit 7 - Debouncer number of states

source

pub fn tickon(&mut self) -> TICKON_W<'_, DPRESCALER_SPEC, 16>

Bit 16 - Pin Sampler frequency selection

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