Type Alias esp32s3::extmem::dcache_prelock_ctrl::W

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

Register DCACHE_PRELOCK_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dcache_prelock_sct0_en( &mut self ) -> DCACHE_PRELOCK_SCT0_EN_W<'_, DCACHE_PRELOCK_CTRL_SPEC>

Bit 0 - The bit is used to enable the first section of prelock function.

source

pub fn dcache_prelock_sct1_en( &mut self ) -> DCACHE_PRELOCK_SCT1_EN_W<'_, DCACHE_PRELOCK_CTRL_SPEC>

Bit 1 - The bit is used to enable the second section of prelock function.

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