Struct W

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

Register D3PMR1 writer

Implementations§

§

impl W

pub fn mr0(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 0>

Bit 0 - Rising trigger event configuration bit of Configurable Event input

pub fn mr1(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 1>

Bit 1 - Rising trigger event configuration bit of Configurable Event input

pub fn mr2(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 2>

Bit 2 - Rising trigger event configuration bit of Configurable Event input

pub fn mr3(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 3>

Bit 3 - Rising trigger event configuration bit of Configurable Event input

pub fn mr4(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 4>

Bit 4 - Rising trigger event configuration bit of Configurable Event input

pub fn mr5(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 5>

Bit 5 - Rising trigger event configuration bit of Configurable Event input

pub fn mr6(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 6>

Bit 6 - Rising trigger event configuration bit of Configurable Event input

pub fn mr7(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 7>

Bit 7 - Rising trigger event configuration bit of Configurable Event input

pub fn mr8(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 8>

Bit 8 - Rising trigger event configuration bit of Configurable Event input

pub fn mr9(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 9>

Bit 9 - Rising trigger event configuration bit of Configurable Event input

pub fn mr10(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 10>

Bit 10 - Rising trigger event configuration bit of Configurable Event input

pub fn mr11(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 11>

Bit 11 - Rising trigger event configuration bit of Configurable Event input

pub fn mr12(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 12>

Bit 12 - Rising trigger event configuration bit of Configurable Event input

pub fn mr13(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 13>

Bit 13 - Rising trigger event configuration bit of Configurable Event input

pub fn mr14(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 14>

Bit 14 - Rising trigger event configuration bit of Configurable Event input

pub fn mr15(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 15>

Bit 15 - Rising trigger event configuration bit of Configurable Event input

pub fn mr19(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 19>

Bit 19 - Rising trigger event configuration bit of Configurable Event input

pub fn mr20(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 20>

Bit 20 - Rising trigger event configuration bit of Configurable Event input

pub fn mr21(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 21>

Bit 21 - Rising trigger event configuration bit of Configurable Event input

pub fn mr25(&mut self) -> BitWriterRaw<'_, u32, D3PMR1_SPEC, MR0_A, BitM, 25>

Bit 25 - Rising trigger event configuration bit of Configurable Event input

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

Writes raw bits to the register.

Methods from Deref<Target = W<D3PMR1_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<D3PMR1_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<D3PMR1_SPEC>> for W

§

fn from(writer: W<D3PMR1_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.