pub struct W(_);
Expand description
Register USER2
writer
Implementations
sourceimpl W
impl W
sourcepub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W<'_>
pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W<'_>
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<'_>
pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W<'_>
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<'_>
pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W<'_>
Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state.
Methods from Deref<Target = W<USER2_SPEC>>
Trait Implementations
sourceimpl From<W<USER2_SPEC>> for W
impl From<W<USER2_SPEC>> for W
sourcefn from(writer: W<USER2_SPEC>) -> Self
fn from(writer: W<USER2_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more