Type Alias atsame54n::rtc::mode1::tampid::W

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

Register TAMPID writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tampid0(&mut self) -> TAMPID0_W<'_, TAMPID_SPEC, 0>

Bit 0 - Tamper Input 0 Detected

source

pub fn tampid1(&mut self) -> TAMPID1_W<'_, TAMPID_SPEC, 1>

Bit 1 - Tamper Input 1 Detected

source

pub fn tampid2(&mut self) -> TAMPID2_W<'_, TAMPID_SPEC, 2>

Bit 2 - Tamper Input 2 Detected

source

pub fn tampid3(&mut self) -> TAMPID3_W<'_, TAMPID_SPEC, 3>

Bit 3 - Tamper Input 3 Detected

source

pub fn tampid4(&mut self) -> TAMPID4_W<'_, TAMPID_SPEC, 4>

Bit 4 - Tamper Input 4 Detected

source

pub fn tampevt(&mut self) -> TAMPEVT_W<'_, TAMPID_SPEC, 31>

Bit 31 - Tamper Event Detected

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