Type Alias esp32s2::rtc_io::ext_wakeup0::R

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

Register EXT_WAKEUP0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn sel(&self) -> SEL_R

Bits 27:31 - GPIO[0-17] can be used to wake up the chip when the chip is in the sleep mode. This register prompts the pad source to wake up the chip when the latter is indeep/light sleep mode. 0: select GPIO0; 1: select GPIO2, etc