Type Alias esp32c2::system::rtc_fastmem_config::W

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

Register RTC_FASTMEM_CONFIG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rtc_mem_crc_start( &mut self ) -> RTC_MEM_CRC_START_W<'_, RTC_FASTMEM_CONFIG_SPEC>

Bit 8 - Set 1 to start the CRC of RTC memory

source

pub fn rtc_mem_crc_addr( &mut self ) -> RTC_MEM_CRC_ADDR_W<'_, RTC_FASTMEM_CONFIG_SPEC>

Bits 9:19 - This field is used to set address of RTC memory for CRC.

source

pub fn rtc_mem_crc_len( &mut self ) -> RTC_MEM_CRC_LEN_W<'_, RTC_FASTMEM_CONFIG_SPEC>

Bits 20:30 - This field is used to set length of RTC memory for CRC based on start address.

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