pub struct R(_);
Expand description

Register RD_REPEAT_DATA3 reader

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).

Methods from Deref<Target = R<RD_REPEAT_DATA3_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<RD_REPEAT_DATA3_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<RD_REPEAT_DATA3_SPEC>> for R

source§

fn from(reader: R<RD_REPEAT_DATA3_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.