[][src]Type Definition muscab1_pac::dualtimer::timer2control::R

type R = R<u32, TIMER2CONTROL>;

Reader of register TIMER2CONTROL

Methods

impl R[src]

pub fn one_shot_count(&self) -> ONESHOTCOUNT_R[src]

Bit 0 - Selects one-shot or wrapping counter mode.

pub fn timer_size(&self) -> TIMERSIZE_R[src]

Bit 1 - Selects 16-bit or 32- bit counter operation.

pub fn timer_pre(&self) -> TIMERPRE_R[src]

Bits 2:3 - Timer prescale bits.

pub fn interrupt_enable(&self) -> INTERRUPTENABLE_R[src]

Bit 5 - Interrupt Enable bit.

pub fn timer_mode(&self) -> TIMERMODE_R[src]

Bit 6 - Timer Mode bit.

pub fn timer_enable(&self) -> TIMERENABLE_R[src]

Bit 7 - Timer Enable Enable bit.