Type Alias xmc4300::ccu40_cc40::tc::R

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

Register TC reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tcm(&self) -> TCM_R

Bit 0 - Timer Counting Mode

source

pub fn tssm(&self) -> TSSM_R

Bit 1 - Timer Single Shot Mode

source

pub fn clst(&self) -> CLST_R

Bit 2 - Shadow Transfer on Clear

source

pub fn cmod(&self) -> CMOD_R

Bit 3 - Capture Compare Mode

source

pub fn ecm(&self) -> ECM_R

Bit 4 - Extended Capture Mode

source

pub fn capc(&self) -> CAPC_R

Bits 5:6 - Clear on Capture Control

source

pub fn endm(&self) -> ENDM_R

Bits 8:9 - Extended Stop Function Control

source

pub fn strm(&self) -> STRM_R

Bit 10 - Extended Start Function Control

source

pub fn sce(&self) -> SCE_R

Bit 11 - Equal Capture Event enable

source

pub fn ccs(&self) -> CCS_R

Bit 12 - Continuous Capture Enable

source

pub fn dithe(&self) -> DITHE_R

Bits 13:14 - Dither Enable

source

pub fn dim(&self) -> DIM_R

Bit 15 - Dither input selector

source

pub fn fpe(&self) -> FPE_R

Bit 16 - Floating Prescaler enable

source

pub fn trape(&self) -> TRAPE_R

Bit 17 - TRAP enable

source

pub fn trpse(&self) -> TRPSE_R

Bit 21 - TRAP Synchronization Enable

source

pub fn trpsw(&self) -> TRPSW_R

Bit 22 - TRAP State Clear Control

source

pub fn ems(&self) -> EMS_R

Bit 23 - External Modulation Synchronization

source

pub fn emt(&self) -> EMT_R

Bit 24 - External Modulation Type

source

pub fn mcme(&self) -> MCME_R

Bit 25 - Multi Channel Mode Enable