pub struct R(_);
Expand description
Register USER1
reader
Implementations§
source§impl R
impl R
sourcepub fn usr_dummy_cyclelen(&self) -> USR_DUMMY_CYCLELEN_R
pub fn usr_dummy_cyclelen(&self) -> USR_DUMMY_CYCLELEN_R
Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state.
sourcepub fn mst_wfull_err_end_en(&self) -> MST_WFULL_ERR_END_EN_R
pub fn mst_wfull_err_end_en(&self) -> MST_WFULL_ERR_END_EN_R
Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode.
sourcepub fn cs_setup_time(&self) -> CS_SETUP_TIME_R
pub fn cs_setup_time(&self) -> CS_SETUP_TIME_R
Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state.
sourcepub fn cs_hold_time(&self) -> CS_HOLD_TIME_R
pub fn cs_hold_time(&self) -> CS_HOLD_TIME_R
Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state.
sourcepub fn usr_addr_bitlen(&self) -> USR_ADDR_BITLEN_R
pub fn usr_addr_bitlen(&self) -> USR_ADDR_BITLEN_R
Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state.
Methods from Deref<Target = R<USER1_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more