[][src]Struct imxrt1062_pit::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _LDVAL>>[src]

pub fn tsv(&mut self) -> TSV_W[src]

Bits 0:31 - Timer Start Value

impl W<u32, Reg<u32, _TCTRL>>[src]

pub fn ten(&mut self) -> TEN_W[src]

Bit 0 - Timer Enable

pub fn tie(&mut self) -> TIE_W[src]

Bit 1 - Timer Interrupt Enable

pub fn chn(&mut self) -> CHN_W[src]

Bit 2 - Chain Mode

impl W<u32, Reg<u32, _TFLG>>[src]

pub fn tif(&mut self) -> TIF_W[src]

Bit 0 - Timer Interrupt Flag

impl W<u32, Reg<u32, _MCR>>[src]

pub fn frz(&mut self) -> FRZ_W[src]

Bit 0 - Freeze

pub fn mdis(&mut self) -> MDIS_W[src]

Bit 1 - Module Disable - (PIT section)

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.