Type Alias esp32h2::pcr::timeout_conf::W

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

Register TIMEOUT_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cpu_timeout_rst_en( &mut self ) -> CPU_TIMEOUT_RST_EN_W<'_, TIMEOUT_CONF_SPEC>

Bit 1 - Set 0 to reset cpu_peri timeout module

source

pub fn hp_timeout_rst_en( &mut self ) -> HP_TIMEOUT_RST_EN_W<'_, TIMEOUT_CONF_SPEC>

Bit 2 - Set 0 to reset hp_peri timeout module and hp_modem timeout module

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