Type Alias esp32c3::spi0::ctrl2::R

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

Register CTRL2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cs_setup_time(&self) -> CS_SETUP_TIME_R

Bits 0:4 - (cycles-1) of prepare phase by spi clock this bits are combined with spi_mem_cs_setup bit.

source

pub fn cs_hold_time(&self) -> CS_HOLD_TIME_R

Bits 5:9 - Spi cs signal is delayed to inactive by spi clock this bits are combined with spi_mem_cs_hold bit.

source

pub fn cs_hold_delay(&self) -> CS_HOLD_DELAY_R

Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY[5:0] + 1) MSPI core clock cycles.