Type Alias xmc4200::scu_hibernate::hdcr::R

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

Register HDCR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn wkpep(&self) -> WKPEP_R

Bit 0 - Wake-Up on Pin Event Positive Edge Enable

source

pub fn wkpen(&self) -> WKPEN_R

Bit 1 - Wake-up on Pin Event Negative Edge Enable

source

pub fn rtce(&self) -> RTCE_R

Bit 2 - Wake-up on RTC Event Enable

source

pub fn ulpwdgen(&self) -> ULPWDGEN_R

Bit 3 - ULP WDG Alarm Enable

source

pub fn hib(&self) -> HIB_R

Bit 4 - Hibernate Request Value Set

source

pub fn xtalgpi1sel(&self) -> XTALGPI1SEL_R

Bit 5 - Multiplex Control for RTC_XTAL_1 Select as GPI Input

source

pub fn rcs(&self) -> RCS_R

Bit 6 - fRTC Clock Selection

source

pub fn stdbysel(&self) -> STDBYSEL_R

Bit 7 - fSTDBY Clock Selection

source

pub fn wkupsel(&self) -> WKUPSEL_R

Bit 8 - Wake-Up from Hibernate Trigger Input Selection

source

pub fn gpi0sel(&self) -> GPI0SEL_R

Bit 10 - General Purpose Input 0 Selection

source

pub fn hibio0pol(&self) -> HIBIO0POL_R

Bit 12 - HIBIO0 Polarity Set

source

pub fn adig0sel(&self) -> ADIG0SEL_R

Bit 14 - Select Analog Channel 0 or Digital Output Path

source

pub fn hibio0sel(&self) -> HIBIO0SEL_R

Bits 16:19 - HIB_IO_0 Pin I/O Control (default HIBOUT)

source

pub fn vbatlo(&self) -> VBATLO_R

Bit 24 - Wake-Up on VBAT Falling Below Threshold Enable

source

pub fn vbathi(&self) -> VBATHI_R

Bit 25 - Wake-Up on VBAT Rising Above Threshold Enable

source

pub fn ahibio0lo(&self) -> AHIBIO0LO_R

Bit 26 - Wake-Up on Analog HIB_IO_0 Falling Below Threshold Enable

source

pub fn ahibio0hi(&self) -> AHIBIO0HI_R

Bit 27 - Wake-Up on Analog HIB_IO_0 Rising Above Threshold Enable