R

Type Alias R 

Source
pub type R = R<CTRL_SPEC>;
Expand description

Register CTRL reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn fdummy_rin(&self) -> FDUMMY_RIN_R

Bit 2 - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller.

Source

pub fn fdummy_wout(&self) -> FDUMMY_WOUT_R

Bit 3 - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller.

Source

pub fn fdout_oct(&self) -> FDOUT_OCT_R

Bit 4 - Apply 8 signals during write-data phase 1:enable 0: disable

Source

pub fn fdin_oct(&self) -> FDIN_OCT_R

Bit 5 - Apply 8 signals during read-data phase 1:enable 0: disable

Source

pub fn faddr_oct(&self) -> FADDR_OCT_R

Bit 6 - Apply 8 signals during address phase 1:enable 0: disable

Source

pub fn fcmd_quad(&self) -> FCMD_QUAD_R

Bit 8 - Apply 4 signals during command phase 1:enable 0: disable

Source

pub fn fcmd_oct(&self) -> FCMD_OCT_R

Bit 9 - Apply 8 signals during command phase 1:enable 0: disable

Source

pub fn fcs_crc_en(&self) -> FCS_CRC_EN_R

Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low.

Source

pub fn tx_crc_en(&self) -> TX_CRC_EN_R

Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable

Source

pub fn fastrd_mode(&self) -> FASTRD_MODE_R

Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable.

Source

pub fn fread_dual(&self) -> FREAD_DUAL_R

Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.

Source

pub fn resandres(&self) -> RESANDRES_R

Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable.

Source

pub fn q_pol(&self) -> Q_POL_R

Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low

Source

pub fn d_pol(&self) -> D_POL_R

Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low

Source

pub fn fread_quad(&self) -> FREAD_QUAD_R

Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.

Source

pub fn wp(&self) -> WP_R

Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.

Source

pub fn wrsr_2b(&self) -> WRSR_2B_R

Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable.

Source

pub fn fread_dio(&self) -> FREAD_DIO_R

Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.

Source

pub fn fread_qio(&self) -> FREAD_QIO_R

Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.