pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn spdifrxen(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 0>
pub fn spdifrxen(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Peripheral Block Enable
sourcepub fn rxdmaen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
pub fn rxdmaen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
Bit 2 - Receiver DMA ENable for data flow
sourcepub fn drfmt(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn drfmt(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - RX Data format
sourcepub fn pmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 6>
pub fn pmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 6>
Bit 6 - Mask Parity error bit
sourcepub fn vmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
pub fn vmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
Bit 7 - Mask of Validity bit
sourcepub fn cumsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 8>
pub fn cumsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 8>
Bit 8 - Mask of channel status and user bits
sourcepub fn ptmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
pub fn ptmsk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
Bit 9 - Mask of Preamble Type bits
sourcepub fn cbdmaen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
pub fn cbdmaen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
Bit 10 - Control Buffer DMA ENable for control flow
sourcepub fn chsel(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 11>
pub fn chsel(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 11>
Bit 11 - Channel Selection
sourcepub fn nbtr(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 12>
pub fn nbtr(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Maximum allowed re-tries during synchronization phase
sourcepub fn wfa(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
pub fn wfa(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
Bit 14 - Wait For Activity
sourcepub fn insel(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 3, 16>
pub fn insel(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 3, 16>
Bits 16:18 - input selection
sourcepub fn cksen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 20>
pub fn cksen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 20>
Bit 20 - Symbol Clock Enable
Methods from Deref<Target = W<CR_SPEC>>
sourcepub 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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more