pub struct W(_);
Expand description
Register SLAVE3
writer
Implementations§
§impl W
impl W
pub fn slv_rdbuf_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 0>
pub fn slv_rdbuf_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - In the slave mode it is the value of read-buffer command.
pub fn slv_wrbuf_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 8>
pub fn slv_wrbuf_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - In the slave mode it is the value of write-buffer command.
pub fn slv_rdsta_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 16>
pub fn slv_rdsta_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - In the slave mode it is the value of read-status command.
pub fn slv_wrsta_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 24>
pub fn slv_wrsta_cmd_value(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE3_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - In the slave mode it is the value of write-status command.
Methods from Deref<Target = W<SLAVE3_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<SLAVE3_SPEC>> for W
impl From<W<SLAVE3_SPEC>> for W
§fn from(writer: W<SLAVE3_SPEC>) -> W
fn from(writer: W<SLAVE3_SPEC>) -> W
Converts to this type from the input type.