Type Alias esp32h2::pcr::cache_conf::W

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

Register CACHE_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cache_clk_en(&mut self) -> CACHE_CLK_EN_W<'_, CACHE_CONF_SPEC>

Bit 0 - Set 1 to enable cache clock

source

pub fn cache_rst_en(&mut self) -> CACHE_RST_EN_W<'_, CACHE_CONF_SPEC>

Bit 1 - Set 0 to reset cache 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