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

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

Register TC reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tcm(&self) -> TcmR

Bit 0 - Timer Counting Mode

source

pub fn tssm(&self) -> TssmR

Bit 1 - Timer Single Shot Mode

source

pub fn clst(&self) -> ClstR

Bit 2 - Shadow Transfer on Clear

source

pub fn cmod(&self) -> CmodR

Bit 3 - Capture Compare Mode

source

pub fn ecm(&self) -> EcmR

Bit 4 - Extended Capture Mode

source

pub fn capc(&self) -> CapcR

Bits 5:6 - Clear on Capture Control

source

pub fn endm(&self) -> EndmR

Bits 8:9 - Extended Stop Function Control

source

pub fn strm(&self) -> StrmR

Bit 10 - Extended Start Function Control

source

pub fn sce(&self) -> SceR

Bit 11 - Equal Capture Event enable

source

pub fn ccs(&self) -> CcsR

Bit 12 - Continuous Capture Enable

source

pub fn dithe(&self) -> DitheR

Bits 13:14 - Dither Enable

source

pub fn dim(&self) -> DimR

Bit 15 - Dither input selector

source

pub fn fpe(&self) -> FpeR

Bit 16 - Floating Prescaler enable

source

pub fn trape(&self) -> TrapeR

Bit 17 - TRAP enable

source

pub fn trpse(&self) -> TrpseR

Bit 21 - TRAP Synchronization Enable

source

pub fn trpsw(&self) -> TrpswR

Bit 22 - TRAP State Clear Control

source

pub fn ems(&self) -> EmsR

Bit 23 - External Modulation Synchronization

source

pub fn emt(&self) -> EmtR

Bit 24 - External Modulation Type

source

pub fn mcme(&self) -> McmeR

Bit 25 - Multi Channel Mode Enable