Struct esp32c2_hal::pac::system::rtc_fastmem_config::W
pub struct W(_);
Expand description
Register RTC_FASTMEM_CONFIG
writer
Implementations§
§impl W
impl W
pub fn rtc_mem_crc_start(
&mut self
) -> BitWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, bool, BitM, 8>
pub fn rtc_mem_crc_start(
&mut self
) -> BitWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, bool, BitM, 8>
Bit 8 - Set 1 to start the CRC of RTC memory
pub fn rtc_mem_crc_addr(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, u16, u16, Unsafe, 11, 9>
pub fn rtc_mem_crc_addr(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, u16, u16, Unsafe, 11, 9>
Bits 9:19 - This field is used to set address of RTC memory for CRC.
pub fn rtc_mem_crc_len(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, u16, u16, Unsafe, 11, 20>
pub fn rtc_mem_crc_len(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_FASTMEM_CONFIG_SPEC, u16, u16, Unsafe, 11, 20>
Bits 20:30 - This field is used to set length of RTC memory for CRC based on start address.
Methods from Deref<Target = W<RTC_FASTMEM_CONFIG_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<RTC_FASTMEM_CONFIG_SPEC>> for W
impl From<W<RTC_FASTMEM_CONFIG_SPEC>> for W
§fn from(writer: W<RTC_FASTMEM_CONFIG_SPEC>) -> W
fn from(writer: W<RTC_FASTMEM_CONFIG_SPEC>) -> W
Converts to this type from the input type.