Type Alias esp32c3::spi0::misc::W

source ·
pub type W = W<MISC_SPEC>;
Expand description

Register MISC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn trans_end(&mut self) -> TRANS_END_W<'_, MISC_SPEC>

Bit 3 - The bit is used to indicate the spi0_mst_st controlled transmitting is done.

source

pub fn trans_end_int_ena(&mut self) -> TRANS_END_INT_ENA_W<'_, MISC_SPEC>

Bit 4 - The bit is used to enable the interrupt of spi0_mst_st controlled transmitting is done.

source

pub fn cspi_st_trans_end(&mut self) -> CSPI_ST_TRANS_END_W<'_, MISC_SPEC>

Bit 5 - The bit is used to indicate the spi0_slv_st controlled transmitting is done.

source

pub fn cspi_st_trans_end_int_ena( &mut self ) -> CSPI_ST_TRANS_END_INT_ENA_W<'_, MISC_SPEC>

Bit 6 - The bit is used to enable the interrupt of spi0_slv_st controlled transmitting is done.

source

pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W<'_, MISC_SPEC>

Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle

source

pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W<'_, MISC_SPEC>

Bit 10 - spi cs line keep low when the bit is set.