pub struct W(_);
Expand description
Register SLAVE2
writer
Implementations§
§impl W
impl W
pub fn slv_rdsta_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 0>
pub fn slv_rdsta_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-status operations. The register value shall be (cycle_num-1).
pub fn slv_wrsta_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 8>
pub fn slv_wrsta_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-status operations. The register value shall be (cycle_num-1).
pub fn slv_rdbuf_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 16>
pub fn slv_rdbuf_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-buffer operations. The register value shall be (cycle_num-1).
pub fn slv_wrbuf_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 24>
pub fn slv_wrbuf_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE2_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-buffer operations. The register value shall be (cycle_num-1).
Methods from Deref<Target = W<SLAVE2_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.
Trait Implementations§
§impl From<W<SLAVE2_SPEC>> for W
impl From<W<SLAVE2_SPEC>> for W
§fn from(writer: W<SLAVE2_SPEC>) -> W
fn from(writer: W<SLAVE2_SPEC>) -> W
Converts to this type from the input type.