Type Alias esp32c3::spi2::user2::R

source ·
pub type R = R<USER2_SPEC>;
Expand description

Register USER2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn usr_command_value(&self) -> USR_COMMAND_VALUE_R

Bits 0:15 - The value of command. Can be configured in CONF state.

source

pub fn mst_rempty_err_end_en(&self) -> MST_REMPTY_ERR_END_EN_R

Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode.

source

pub fn usr_command_bitlen(&self) -> USR_COMMAND_BITLEN_R

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