Type Alias atsamd51p::rtc::mode2::intflag::W

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

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn per0(&mut self) -> PER0_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Periodic Interval 0

source

pub fn per1(&mut self) -> PER1_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Periodic Interval 1

source

pub fn per2(&mut self) -> PER2_W<'_, INTFLAG_SPEC, 2>

Bit 2 - Periodic Interval 2

source

pub fn per3(&mut self) -> PER3_W<'_, INTFLAG_SPEC, 3>

Bit 3 - Periodic Interval 3

source

pub fn per4(&mut self) -> PER4_W<'_, INTFLAG_SPEC, 4>

Bit 4 - Periodic Interval 4

source

pub fn per5(&mut self) -> PER5_W<'_, INTFLAG_SPEC, 5>

Bit 5 - Periodic Interval 5

source

pub fn per6(&mut self) -> PER6_W<'_, INTFLAG_SPEC, 6>

Bit 6 - Periodic Interval 6

source

pub fn per7(&mut self) -> PER7_W<'_, INTFLAG_SPEC, 7>

Bit 7 - Periodic Interval 7

source

pub fn alarm0(&mut self) -> ALARM0_W<'_, INTFLAG_SPEC, 8>

Bit 8 - Alarm 0

source

pub fn alarm1(&mut self) -> ALARM1_W<'_, INTFLAG_SPEC, 9>

Bit 9 - Alarm 1

source

pub fn tamper(&mut self) -> TAMPER_W<'_, INTFLAG_SPEC, 14>

Bit 14 - Tamper

source

pub fn ovf(&mut self) -> OVF_W<'_, INTFLAG_SPEC, 15>

Bit 15 - Overflow

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual