Struct W

pub struct W(/* private fields */);
Expand description

Register PDMDLY writer

Implementations§

§

impl W

pub fn dlym1l( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 0>

Bits 0:2 - Delay line adjust for first microphone of pair 1

pub fn dlym1r( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 4>

Bits 4:6 - Delay line adjust for second microphone of pair 1

pub fn dlym2l( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 8>

Bits 8:10 - Delay line for first microphone of pair 2

pub fn dlym2r( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 12>

Bits 12:14 - Delay line for second microphone of pair 2

pub fn dlym3l( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 16>

Bits 16:18 - Delay line for first microphone of pair 3

pub fn dlym3r( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 20>

Bits 20:22 - Delay line for second microphone of pair 3

pub fn dlym4l( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 24>

Bits 24:26 - Delay line for first microphone of pair 4

pub fn dlym4r( &mut self, ) -> FieldWriterRaw<'_, u32, PDMDLY_SPEC, u8, u8, Unsafe, 3, 28>

Bits 28:30 - Delay line for second microphone of pair 4

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

Methods from Deref<Target = W<PDMDLY_SPEC>>§

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

§

impl Deref for W

§

type Target = W<PDMDLY_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
§

impl DerefMut for W

§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
§

impl From<W<PDMDLY_SPEC>> for W

§

fn from(writer: W<PDMDLY_SPEC>) -> W

Converts to this type from the input type.

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.