Type Alias esp32h2::spi0::spi_mem_misc::W

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

Register SPI_MEM_MISC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn spi_mem_ck_idle_edge( &mut self ) -> SPI_MEM_CK_IDLE_EDGE_W<'_, SPI_MEM_MISC_SPEC, 9>

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

source

pub fn spi_mem_cs_keep_active( &mut self ) -> SPI_MEM_CS_KEEP_ACTIVE_W<'_, SPI_MEM_MISC_SPEC, 10>

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

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual