Type Alias esp32c3::rtc_cntl::slp_reject_conf::W

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

Register SLP_REJECT_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sleep_reject_ena( &mut self ) -> SLEEP_REJECT_ENA_W<'_, SLP_REJECT_CONF_SPEC>

Bits 12:29 - sleep reject enable

source

pub fn light_slp_reject_en( &mut self ) -> LIGHT_SLP_REJECT_EN_W<'_, SLP_REJECT_CONF_SPEC>

Bit 30 - enable reject for light sleep

source

pub fn deep_slp_reject_en( &mut self ) -> DEEP_SLP_REJECT_EN_W<'_, SLP_REJECT_CONF_SPEC>

Bit 31 - enable reject for deep sleep