Struct W

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

Register TIMEDIER5 writer

Implementations§

§

impl W

pub fn dlyprtde( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 30>

Bit 30 - DLYPRTDE

pub fn rstde(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 29>

Bit 29 - RSTDE

pub fn rstx2de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 28>

Bit 28 - RSTx2DE

pub fn setx2de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 27>

Bit 27 - SETx2DE

pub fn rstx1de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 26>

Bit 26 - RSTx1DE

pub fn set1x_de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 25>

Bit 25 - SET1xDE

pub fn cpt2de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 24>

Bit 24 - CPT2DE

pub fn cpt1de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 23>

Bit 23 - CPT1DE

pub fn updde(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 22>

Bit 22 - UPDDE

pub fn repde(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 20>

Bit 20 - REPDE

pub fn cmp4de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 19>

Bit 19 - CMP4DE

pub fn cmp3de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 18>

Bit 18 - CMP3DE

pub fn cmp2de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 17>

Bit 17 - CMP2DE

pub fn cmp1de( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 16>

Bit 16 - CMP1DE

pub fn dlyprtie( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 14>

Bit 14 - DLYPRTIE

pub fn rstie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 13>

Bit 13 - RSTIE

pub fn rstx2ie( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 12>

Bit 12 - RSTx2IE

pub fn setx2ie( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 11>

Bit 11 - SETx2IE

pub fn rstx1ie( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 10>

Bit 10 - RSTx1IE

pub fn set1x_ie( &mut self, ) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 9>

Bit 9 - SET1xIE

pub fn cpt2ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 8>

Bit 8 - CPT2IE

pub fn cpt1ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 7>

Bit 7 - CPT1IE

pub fn updie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 6>

Bit 6 - UPDIE

pub fn repie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 4>

Bit 4 - REPIE

pub fn cmp4ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 3>

Bit 3 - CMP4IE

pub fn cmp3ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 2>

Bit 2 - CMP3IE

pub fn cmp2ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 1>

Bit 1 - CMP2IE

pub fn cmp1ie(&mut self) -> BitWriterRaw<'_, u32, TIMEDIER5_SPEC, bool, BitM, 0>

Bit 0 - CMP1IE

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

Writes raw bits to the register.

Methods from Deref<Target = W<TIMEDIER5_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<TIMEDIER5_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<TIMEDIER5_SPEC>> for W

§

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