[][src]Type Definition rsl10_pac::timer::timer_cfg::R

type R = R<u32, TIMER_CFG>;

Reader of register TIMER_CFG[%s]

Methods

impl R[src]

pub fn multi_count(&self) -> MULTI_COUNT_R[src]

Bits 29:31 - Multi-count value

pub fn mode(&self) -> MODE_R[src]

Bit 28 - Timer mode

pub fn clk_src(&self) -> CLK_SRC_R[src]

Bit 27 - Clock source

pub fn prescale(&self) -> PRESCALE_R[src]

Bits 24:26 - Prescale value of the timer

pub fn timeout_value(&self) -> TIMEOUT_VALUE_R[src]

Bits 0:23 - Number of Timer clock cycles to time-out