Type Alias pac25::pac25140::timer_c::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 mode(&self) -> MODE_R

Bits 0:1 - Timer Mode

source

pub fn prdlatch(&self) -> PRDLATCH_R

Bits 2:3 - Timer Period Latch Mode

source

pub fn ssync(&self) -> SSYNC_R

Bit 4 - Timer Slave Synchronization

source

pub fn single(&self) -> SINGLE_R

Bit 5 - Single Shot Timer

source

pub fn clkdiv(&self) -> CLKDIV_R

Bits 6:8 - Timer Input Clock Divider

source

pub fn clksrc(&self) -> CLKSRC_R

Bit 9 - Timer Clock Source

source

pub fn dtgclk(&self) -> DTGCLK_R

Bit 10 - Dead-Time Generator Clock Source

source

pub fn latch(&self) -> LATCH_R

Bit 11 - Write 1 to Latch Period and all CCTRs

source

pub fn clr(&self) -> CLR_R

Bit 12 - Timer Clear

source

pub fn baseie(&self) -> BASEIE_R

Bit 13 - Base timer interrupt enable