pub struct W(_);
Expand description
Register USER2
writer
Implementations§
source§impl W
impl W
sourcepub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W<'_, 0>
pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W<'_, 0>
Bits 0:15 - The value of command. Can be configured in CONF state.
sourcepub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W<'_, 27>
pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W<'_, 27>
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.
sourcepub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W<'_, 28>
pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W<'_, 28>
Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state.