Struct esp32s3_hal::pac::apb_ctrl::retention_ctrl2::W
pub struct W(_);
Expand description
Register RETENTION_CTRL2
writer
Implementations§
§impl W
impl W
pub fn ret_icache_size(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 4>
pub fn ret_icache_size(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 4>
Bits 4:11 - ******* Description ***********
pub fn ret_icache_vld_size(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 13>
pub fn ret_icache_vld_size(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 13>
Bits 13:20 - ******* Description ***********
pub fn ret_icache_start_point(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 22>
pub fn ret_icache_start_point(
&mut self
) -> FieldWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, u8, u8, Unsafe, 8, 22>
Bits 22:29 - ******* Description ***********
pub fn ret_icache_enable(
&mut self
) -> BitWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, bool, BitM, 31>
pub fn ret_icache_enable(
&mut self
) -> BitWriterRaw<'_, u32, RETENTION_CTRL2_SPEC, bool, BitM, 31>
Bit 31 - ******* Description ***********
Methods from Deref<Target = W<RETENTION_CTRL2_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<RETENTION_CTRL2_SPEC>> for W
impl From<W<RETENTION_CTRL2_SPEC>> for W
§fn from(writer: W<RETENTION_CTRL2_SPEC>) -> W
fn from(writer: W<RETENTION_CTRL2_SPEC>) -> W
Converts to this type from the input type.