Type Alias esp32s3::spi0::user::R

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

Register USER reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cs_hold(&self) -> CS_HOLD_R

Bit 6 - Set this bit to keep SPI_CS low when MSPI is in DONE state.

source

pub fn cs_setup(&self) -> CS_SETUP_R

Bit 7 - Set this bit to keep SPI_CS low when MSPI is in PREP state.

source

pub fn ck_out_edge(&self) -> CK_OUT_EDGE_R

Bit 9 - This bit, combined with SPI_MEM_CK_IDLE_EDGE bit, is used to change the clock mode 0~3 of SPI_CLK.

source

pub fn usr_dummy_idle(&self) -> USR_DUMMY_IDLE_R

Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable.

source

pub fn usr_dummy(&self) -> USR_DUMMY_R

Bit 29 - This bit enable the DUMMY phase of an SPI transfer.