Type Alias xmc4400::ccu80_cc80::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 tls(&mut self) -> TLS_W<'_, TC_SPEC>

Bit 7 - Timer Load selector

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 trape0(&mut self) -> TRAPE0_W<'_, TC_SPEC>

Bit 17 - TRAP enable for CCU8x.OUTy0

source

pub fn trape1(&mut self) -> TRAPE1_W<'_, TC_SPEC>

Bit 18 - TRAP enable for CCU8x.OUTy1

source

pub fn trape2(&mut self) -> TRAPE2_W<'_, TC_SPEC>

Bit 19 - TRAP enable for CCU8x.OUTy2

source

pub fn trape3(&mut self) -> TRAPE3_W<'_, TC_SPEC>

Bit 20 - TRAP enable for CCU8x.OUTy3

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 mcme1(&mut self) -> MCME1_W<'_, TC_SPEC>

Bit 25 - Multi Channel Mode Enable for Channel 1

source

pub fn mcme2(&mut self) -> MCME2_W<'_, TC_SPEC>

Bit 26 - Multi Channel Mode Enable for Channel 2

source

pub fn eme(&mut self) -> EME_W<'_, TC_SPEC>

Bits 27:28 - External Modulation Channel enable

source

pub fn stos(&mut self) -> STOS_W<'_, TC_SPEC>

Bits 29:30 - Status bit output selector