Type Alias atsame54n::rtc::mode0::evctrl::W

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

Register EVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pereo0(&mut self) -> PEREO0_W<'_, EVCTRL_SPEC, 0>

Bit 0 - Periodic Interval 0 Event Output Enable

source

pub fn pereo1(&mut self) -> PEREO1_W<'_, EVCTRL_SPEC, 1>

Bit 1 - Periodic Interval 1 Event Output Enable

source

pub fn pereo2(&mut self) -> PEREO2_W<'_, EVCTRL_SPEC, 2>

Bit 2 - Periodic Interval 2 Event Output Enable

source

pub fn pereo3(&mut self) -> PEREO3_W<'_, EVCTRL_SPEC, 3>

Bit 3 - Periodic Interval 3 Event Output Enable

source

pub fn pereo4(&mut self) -> PEREO4_W<'_, EVCTRL_SPEC, 4>

Bit 4 - Periodic Interval 4 Event Output Enable

source

pub fn pereo5(&mut self) -> PEREO5_W<'_, EVCTRL_SPEC, 5>

Bit 5 - Periodic Interval 5 Event Output Enable

source

pub fn pereo6(&mut self) -> PEREO6_W<'_, EVCTRL_SPEC, 6>

Bit 6 - Periodic Interval 6 Event Output Enable

source

pub fn pereo7(&mut self) -> PEREO7_W<'_, EVCTRL_SPEC, 7>

Bit 7 - Periodic Interval 7 Event Output Enable

source

pub fn cmpeo0(&mut self) -> CMPEO0_W<'_, EVCTRL_SPEC, 8>

Bit 8 - Compare 0 Event Output Enable

source

pub fn cmpeo1(&mut self) -> CMPEO1_W<'_, EVCTRL_SPEC, 9>

Bit 9 - Compare 1 Event Output Enable

source

pub fn tampereo(&mut self) -> TAMPEREO_W<'_, EVCTRL_SPEC, 14>

Bit 14 - Tamper Event Output Enable

source

pub fn ovfeo(&mut self) -> OVFEO_W<'_, EVCTRL_SPEC, 15>

Bit 15 - Overflow Event Output Enable

source

pub fn tampevei(&mut self) -> TAMPEVEI_W<'_, EVCTRL_SPEC, 16>

Bit 16 - Tamper Event Input Enable

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