Type Alias esp32c3::spi1::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 cs0_dis(&mut self) -> CS0_DIS_W<'_, MISC_SPEC>

Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on.

source

pub fn cs1_dis(&mut self) -> CS1_DIS_W<'_, MISC_SPEC>

Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on.

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.