Type Alias esp32c3::efuse::rd_repeat_data3::R

source ·
pub type R = R<RD_REPEAT_DATA3_SPEC>;
Expand description

Register RD_REPEAT_DATA3 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn dis_download_mode(&self) -> DIS_DOWNLOAD_MODE_R

Bit 0 - Set this bit to disable download mode (boot_mode[3:0] = 0, 1, 2, 3, 6, 7).

source

pub fn dis_legacy_spi_boot(&self) -> DIS_LEGACY_SPI_BOOT_R

Bit 1 - Set this bit to disable Legacy SPI boot mode (boot_mode[3:0] = 4).

source

pub fn uart_print_channel(&self) -> UART_PRINT_CHANNEL_R

Bit 2 - Selectes the default UART print channel. 0: UART0. 1: UART1.

source

pub fn flash_ecc_mode(&self) -> FLASH_ECC_MODE_R

Bit 3 - Set ECC mode in ROM, 0: ROM would Enable Flash ECC 16to18 byte mode. 1:ROM would use 16to17 byte mode.

source

pub fn dis_usb_download_mode(&self) -> DIS_USB_DOWNLOAD_MODE_R

Bit 4 - Set this bit to disable UART download mode through USB.

source

pub fn enable_security_download(&self) -> ENABLE_SECURITY_DOWNLOAD_R

Bit 5 - Set this bit to enable secure UART download mode.

source

pub fn uart_print_control(&self) -> UART_PRINT_CONTROL_R

Bits 6:7 - Set the default UARTboot message output mode. 00: Enabled. 01: Enabled when GPIO8 is low at reset. 10: Enabled when GPIO8 is high at reset. 11:disabled.

source

pub fn pin_power_selection(&self) -> PIN_POWER_SELECTION_R

Bit 8 - GPIO33-GPIO37 power supply selection in ROM code. 0: VDD3P3_CPU. 1: VDD_SPI.

source

pub fn flash_type(&self) -> FLASH_TYPE_R

Bit 9 - Set the maximum lines of SPI flash. 0: four lines. 1: eight lines.

source

pub fn flash_page_size(&self) -> FLASH_PAGE_SIZE_R

Bits 10:11 - Set Flash page size.

source

pub fn flash_ecc_en(&self) -> FLASH_ECC_EN_R

Bit 12 - Set 1 to enable ECC for flash boot.

source

pub fn force_send_resume(&self) -> FORCE_SEND_RESUME_R

Bit 13 - Set this bit to force ROM code to send a resume command during SPI boot.

source

pub fn secure_version(&self) -> SECURE_VERSION_R

Bits 14:29 - Secure version (used by ESP-IDF anti-rollback feature).

source

pub fn rpt4_reserved1(&self) -> RPT4_RESERVED1_R

Bits 30:31 - Reserved (used for four backups method).