Type Alias pac25::pac25140::gptimera::ctl::R

source ·
pub type R = R<CTL_SPEC>;
Expand description

Register CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn en(&self) -> EN_R

Bit 0 - Timer enable

source

pub fn ie(&self) -> IE_R

Bit 1 - Interrupt enable

source

pub fn if_(&self) -> IF_R

Bit 2 - Interrupt flag

source

pub fn div(&self) -> DIV_R

Bits 3:6 - Clock divider (PCLK / n^2)

source

pub fn cdv(&self) -> CDV_R

Bits 8:31 - Count-down value