pub struct W(/* private fields */);Expand description
Register CR writer
Implementations§
Source§impl W
impl W
Sourcepub fn spdifen(
&mut self,
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 0>
pub fn spdifen( &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
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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more