Type Alias atsame54n::rtc::mode0::tampctrl::R

source ·
pub type R = R<TAMPCTRL_SPEC>;
Expand description

Register TAMPCTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn in0act(&self) -> IN0ACT_R

Bits 0:1 - Tamper Input 0 Action

source

pub fn in1act(&self) -> IN1ACT_R

Bits 2:3 - Tamper Input 1 Action

source

pub fn in2act(&self) -> IN2ACT_R

Bits 4:5 - Tamper Input 2 Action

source

pub fn in3act(&self) -> IN3ACT_R

Bits 6:7 - Tamper Input 3 Action

source

pub fn in4act(&self) -> IN4ACT_R

Bits 8:9 - Tamper Input 4 Action

source

pub fn tamlvl0(&self) -> TAMLVL0_R

Bit 16 - Tamper Level Select 0

source

pub fn tamlvl1(&self) -> TAMLVL1_R

Bit 17 - Tamper Level Select 1

source

pub fn tamlvl2(&self) -> TAMLVL2_R

Bit 18 - Tamper Level Select 2

source

pub fn tamlvl3(&self) -> TAMLVL3_R

Bit 19 - Tamper Level Select 3

source

pub fn tamlvl4(&self) -> TAMLVL4_R

Bit 20 - Tamper Level Select 4

source

pub fn debnc0(&self) -> DEBNC0_R

Bit 24 - Debouncer Enable 0

source

pub fn debnc1(&self) -> DEBNC1_R

Bit 25 - Debouncer Enable 1

source

pub fn debnc2(&self) -> DEBNC2_R

Bit 26 - Debouncer Enable 2

source

pub fn debnc3(&self) -> DEBNC3_R

Bit 27 - Debouncer Enable 3

source

pub fn debnc4(&self) -> DEBNC4_R

Bit 28 - Debouncer Enable 4