pub struct W(_);
Expand description
Register SLAVE1
writer
Implementations§
§impl W
impl W
pub fn slv_rdbuf_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 0>
pub fn slv_rdbuf_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 0>
Bit 0 - In the slave mode it is the enable bit of dummy phase for read-buffer operations.
pub fn slv_wrbuf_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 1>
pub fn slv_wrbuf_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 1>
Bit 1 - In the slave mode it is the enable bit of dummy phase for write-buffer operations.
pub fn slv_rdsta_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 2>
pub fn slv_rdsta_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 2>
Bit 2 - In the slave mode it is the enable bit of dummy phase for read-status operations.
pub fn slv_wrsta_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 3>
pub fn slv_wrsta_dummy_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 3>
Bit 3 - In the slave mode it is the enable bit of dummy phase for write-status operations.
pub fn slv_wr_addr_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 6, 4>
pub fn slv_wr_addr_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 6, 4>
Bits 4:9 - In the slave mode it is the address length in bits for write-buffer operation. The register value shall be (bit_num-1).
pub fn slv_rd_addr_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 6, 10>
pub fn slv_rd_addr_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 6, 10>
Bits 10:15 - In the slave mode it is the address length in bits for read-buffer operation. The register value shall be (bit_num-1).
pub fn slv_status_readback(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 25>
pub fn slv_status_readback(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 25>
Bit 25 - In the slave mode 1:read register of SPI_SLV_WR_STATUS 0: read register of SPI_RD_STATUS.
pub fn slv_status_fast_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 26>
pub fn slv_status_fast_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE1_SPEC, bool, BitM, 26>
Bit 26 - In the slave mode enable fast read status.
pub fn slv_status_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 5, 27>
pub fn slv_status_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE1_SPEC, u8, u8, Unsafe, 5, 27>
Bits 27:31 - In the slave mode it is the length of status bit.
Methods from Deref<Target = W<SLAVE1_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.