pub struct W(_);
Expand description
Register CONF1
writer
Implementations§
§impl W
impl W
pub fn tx_pcm_conf(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u8, u8, Unsafe, 3, 0>
pub fn tx_pcm_conf(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2
pub fn tx_pcm_bypass(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 3>
pub fn tx_pcm_bypass(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 3>
Bit 3
pub fn rx_pcm_conf(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u8, u8, Unsafe, 3, 4>
pub fn rx_pcm_conf(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6
pub fn rx_pcm_bypass(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 7>
pub fn rx_pcm_bypass(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 7>
Bit 7
pub fn tx_stop_en(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 8>
pub fn tx_stop_en(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 8>
Bit 8
pub fn tx_zeros_rm_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 9>
pub fn tx_zeros_rm_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 9>
Bit 9
Methods from Deref<Target = W<CONF1_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<CONF1_SPEC>> for W
impl From<W<CONF1_SPEC>> for W
§fn from(writer: W<CONF1_SPEC>) -> W
fn from(writer: W<CONF1_SPEC>) -> W
Converts to this type from the input type.