Type Alias xmc4400::ccu40_cc40::tc::W

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

Register TC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tcm(&mut self) -> TCM_W<'_, TC_SPEC>

Bit 0 - Timer Counting Mode

source

pub fn tssm(&mut self) -> TSSM_W<'_, TC_SPEC>

Bit 1 - Timer Single Shot Mode

source

pub fn clst(&mut self) -> CLST_W<'_, TC_SPEC>

Bit 2 - Shadow Transfer on Clear

source

pub fn ecm(&mut self) -> ECM_W<'_, TC_SPEC>

Bit 4 - Extended Capture Mode

source

pub fn capc(&mut self) -> CAPC_W<'_, TC_SPEC>

Bits 5:6 - Clear on Capture Control

source

pub fn endm(&mut self) -> ENDM_W<'_, TC_SPEC>

Bits 8:9 - Extended Stop Function Control

source

pub fn strm(&mut self) -> STRM_W<'_, TC_SPEC>

Bit 10 - Extended Start Function Control

source

pub fn sce(&mut self) -> SCE_W<'_, TC_SPEC>

Bit 11 - Equal Capture Event enable

source

pub fn ccs(&mut self) -> CCS_W<'_, TC_SPEC>

Bit 12 - Continuous Capture Enable

source

pub fn dithe(&mut self) -> DITHE_W<'_, TC_SPEC>

Bits 13:14 - Dither Enable

source

pub fn dim(&mut self) -> DIM_W<'_, TC_SPEC>

Bit 15 - Dither input selector

source

pub fn fpe(&mut self) -> FPE_W<'_, TC_SPEC>

Bit 16 - Floating Prescaler enable

source

pub fn trape(&mut self) -> TRAPE_W<'_, TC_SPEC>

Bit 17 - TRAP enable

source

pub fn trpse(&mut self) -> TRPSE_W<'_, TC_SPEC>

Bit 21 - TRAP Synchronization Enable

source

pub fn trpsw(&mut self) -> TRPSW_W<'_, TC_SPEC>

Bit 22 - TRAP State Clear Control

source

pub fn ems(&mut self) -> EMS_W<'_, TC_SPEC>

Bit 23 - External Modulation Synchronization

source

pub fn emt(&mut self) -> EMT_W<'_, TC_SPEC>

Bit 24 - External Modulation Type

source

pub fn mcme(&mut self) -> MCME_W<'_, TC_SPEC>

Bit 25 - Multi Channel Mode Enable