Type Alias xmc4800::ccu80_cc80::tc::W

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

Register TC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tcm(&mut self) -> TcmW<'_, TcSpec>

Bit 0 - Timer Counting Mode

source

pub fn tssm(&mut self) -> TssmW<'_, TcSpec>

Bit 1 - Timer Single Shot Mode

source

pub fn clst(&mut self) -> ClstW<'_, TcSpec>

Bit 2 - Shadow Transfer on Clear

source

pub fn ecm(&mut self) -> EcmW<'_, TcSpec>

Bit 4 - Extended Capture Mode

source

pub fn capc(&mut self) -> CapcW<'_, TcSpec>

Bits 5:6 - Clear on Capture Control

source

pub fn tls(&mut self) -> TlsW<'_, TcSpec>

Bit 7 - Timer Load selector

source

pub fn endm(&mut self) -> EndmW<'_, TcSpec>

Bits 8:9 - Extended Stop Function Control

source

pub fn strm(&mut self) -> StrmW<'_, TcSpec>

Bit 10 - Extended Start Function Control

source

pub fn sce(&mut self) -> SceW<'_, TcSpec>

Bit 11 - Equal Capture Event enable

source

pub fn ccs(&mut self) -> CcsW<'_, TcSpec>

Bit 12 - Continuous Capture Enable

source

pub fn dithe(&mut self) -> DitheW<'_, TcSpec>

Bits 13:14 - Dither Enable

source

pub fn dim(&mut self) -> DimW<'_, TcSpec>

Bit 15 - Dither input selector

source

pub fn fpe(&mut self) -> FpeW<'_, TcSpec>

Bit 16 - Floating Prescaler enable

source

pub fn trape0(&mut self) -> Trape0W<'_, TcSpec>

Bit 17 - TRAP enable for CCU8x.OUTy0

source

pub fn trape1(&mut self) -> Trape1W<'_, TcSpec>

Bit 18 - TRAP enable for CCU8x.OUTy1

source

pub fn trape2(&mut self) -> Trape2W<'_, TcSpec>

Bit 19 - TRAP enable for CCU8x.OUTy2

source

pub fn trape3(&mut self) -> Trape3W<'_, TcSpec>

Bit 20 - TRAP enable for CCU8x.OUTy3

source

pub fn trpse(&mut self) -> TrpseW<'_, TcSpec>

Bit 21 - TRAP Synchronization Enable

source

pub fn trpsw(&mut self) -> TrpswW<'_, TcSpec>

Bit 22 - TRAP State Clear Control

source

pub fn ems(&mut self) -> EmsW<'_, TcSpec>

Bit 23 - External Modulation Synchronization

source

pub fn emt(&mut self) -> EmtW<'_, TcSpec>

Bit 24 - External Modulation Type

source

pub fn mcme1(&mut self) -> Mcme1W<'_, TcSpec>

Bit 25 - Multi Channel Mode Enable for Channel 1

source

pub fn mcme2(&mut self) -> Mcme2W<'_, TcSpec>

Bit 26 - Multi Channel Mode Enable for Channel 2

source

pub fn eme(&mut self) -> EmeW<'_, TcSpec>

Bits 27:28 - External Modulation Channel enable

source

pub fn stos(&mut self) -> StosW<'_, TcSpec>

Bits 29:30 - Status bit output selector