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