Type Alias gd32f1::gd32f130::rtc::tamp::R

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

Register TAMP reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tp0en(&self) -> Tp0enR

Bit 0 - RTC_TAMP1 input detection enable

source

pub fn tp0eg(&self) -> Tp0egR

Bit 1 - Tamper 0 event trigger edge for RTC_TAMP0 input

source

pub fn tpie(&self) -> TpieR

Bit 2 - Tamper detection interrupt enable

source

pub fn tp1en(&self) -> Tp1enR

Bit 3 - Tamper 1 detection enable

source

pub fn tp1eg(&self) -> Tp1egR

Bit 4 - Tamper 1 event trigger edge for RTC_TAMP1 input

source

pub fn tpts(&self) -> TptsR

Bit 7 - Make tamper function used for timestamp function

source

pub fn freq(&self) -> FreqR

Bits 8:10 - Sample frequency of tamper event detection

source

pub fn flt(&self) -> FltR

Bits 11:12 - RTC_TAMPx filter count setting

source

pub fn prch(&self) -> PrchR

Bits 13:14 - Precharge duration time of RTC_TAMPx

source

pub fn dispu(&self) -> DispuR

Bit 15 - RTC_TAMPx pull up disable bit

source

pub fn pc13val(&self) -> Pc13valR

Bit 18 - Alarm output type control/PC13 output value

source

pub fn pc13mde(&self) -> Pc13mdeR

Bit 19 - PC13 mode

source

pub fn pc14val(&self) -> Pc14valR

Bit 20 - PC14 value

source

pub fn pc14mde(&self) -> Pc14mdeR

Bit 21 - PC14 mode

source

pub fn pc15val(&self) -> Pc15valR

Bit 22 - PC15 value

source

pub fn pc15mde(&self) -> Pc15mdeR

Bit 23 - PC15 mode