Type Alias esp32c6::spi1::spi_mem_user2::W
source · pub type W = W<SPI_MEM_USER2_SPEC>;Expand description
Register SPI_MEM_USER2 writer
Aliased Type§
struct W { /* private fields */ }Implementations§
source§impl W
impl W
sourcepub fn spi_mem_usr_command_value(
&mut self
) -> SPI_MEM_USR_COMMAND_VALUE_W<'_, SPI_MEM_USER2_SPEC>
pub fn spi_mem_usr_command_value( &mut self ) -> SPI_MEM_USR_COMMAND_VALUE_W<'_, SPI_MEM_USER2_SPEC>
Bits 0:15 - The value of command.
sourcepub fn spi_mem_usr_command_bitlen(
&mut self
) -> SPI_MEM_USR_COMMAND_BITLEN_W<'_, SPI_MEM_USER2_SPEC>
pub fn spi_mem_usr_command_bitlen( &mut self ) -> SPI_MEM_USR_COMMAND_BITLEN_W<'_, SPI_MEM_USER2_SPEC>
Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)