Type Alias esp32h2::spi0::spi_mem_user2::W

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

Register SPI_MEM_USER2 writer

Implementations§

source§

impl W

source

pub fn spi_mem_usr_command_value( &mut self ) -> SPI_MEM_USR_COMMAND_VALUE_W<'_, SPI_MEM_USER2_SPEC, 0>

Bits 0:15 - The value of command.

source

pub fn spi_mem_usr_command_bitlen( &mut self ) -> SPI_MEM_USR_COMMAND_BITLEN_W<'_, SPI_MEM_USER2_SPEC, 28>

Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)

source

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

Writes raw bits to the register.