Type Alias esp32c3::rtc_cntl::brown_out::R

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

Register BROWN_OUT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn brown_out_int_wait(&self) -> BROWN_OUT_INT_WAIT_R

Bits 4:13 - brown out interrupt wait cycles

source

pub fn brown_out_close_flash_ena(&self) -> BROWN_OUT_CLOSE_FLASH_ENA_R

Bit 14 - enable close flash when brown out happens

source

pub fn brown_out_pd_rf_ena(&self) -> BROWN_OUT_PD_RF_ENA_R

Bit 15 - enable power down RF when brown out happens

source

pub fn brown_out_rst_wait(&self) -> BROWN_OUT_RST_WAIT_R

Bits 16:25 - brown out reset wait cycles

source

pub fn brown_out_rst_ena(&self) -> BROWN_OUT_RST_ENA_R

Bit 26 - enable brown out reset

source

pub fn brown_out_rst_sel(&self) -> BROWN_OUT_RST_SEL_R

Bit 27 - 1: 4-pos reset

source

pub fn brown_out_ana_rst_en(&self) -> BROWN_OUT_ANA_RST_EN_R

Bit 28 - brown_out origin reset enable

source

pub fn brown_out_ena(&self) -> BROWN_OUT_ENA_R

Bit 30 - enable brown out

source

pub fn det(&self) -> DET_R

Bit 31 - the flag of brown det from analog