Type Alias esp32c3::rtc_cntl::int_ena_rtc::W

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

Register INT_ENA_RTC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn slp_wakeup_int_ena( &mut self ) -> SLP_WAKEUP_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 0>

Bit 0 - enable sleep wakeup interrupt

source

pub fn slp_reject_int_ena( &mut self ) -> SLP_REJECT_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 1>

Bit 1 - enable sleep reject interrupt

source

pub fn wdt_int_ena(&mut self) -> WDT_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 3>

Bit 3 - enable RTC WDT interrupt

source

pub fn brown_out_int_ena( &mut self ) -> BROWN_OUT_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 9>

Bit 9 - enable brown out interrupt

source

pub fn main_timer_int_ena( &mut self ) -> MAIN_TIMER_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 10>

Bit 10 - enable RTC main timer interrupt

source

pub fn swd_int_ena(&mut self) -> SWD_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 15>

Bit 15 - enable super watch dog interrupt

source

pub fn xtal32k_dead_int_ena( &mut self ) -> XTAL32K_DEAD_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 16>

Bit 16 - enable xtal32k_dead interrupt

source

pub fn glitch_det_int_ena( &mut self ) -> GLITCH_DET_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 19>

Bit 19 - enbale gitch det interrupt

source

pub fn bbpll_cal_int_ena( &mut self ) -> BBPLL_CAL_INT_ENA_W<'_, INT_ENA_RTC_SPEC, 20>

Bit 20 - enbale bbpll cal end interrupt

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual