[−][src]Type Definition imxrt1062_usb1::gptimer0ctrl::R
type R = R<u32, GPTIMER0CTRL>;
Reader of register GPTIMER0CTRL
Methods
impl R
[src]
pub fn gptcnt(&self) -> GPTCNT_R
[src]
Bits 0:23 - General Purpose Timer Counter. This field is the count value of the countdown timer.
pub fn gptmode(&self) -> GPTMODE_R
[src]
Bit 24 - General Purpose Timer Mode In one shot mode, the timer will count down to zero, generate an interrupt, and stop until the counter is reset by software; In repeat mode, the timer will count down to zero, generate an interrupt and automatically reload the counter value from GPTLD bits to start again
pub fn gptrst(&self) -> GPTRST_R
[src]
Bit 30 - General Purpose Timer Reset
pub fn gptrun(&self) -> GPTRUN_R
[src]
Bit 31 - General Purpose Timer Run GPTCNT bits are not effected when setting or clearing this bit.