Type Alias xmc4400::ccu80_cc80::cmc::W

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

Register CMC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn strts(&mut self) -> STRTS_W<'_, CMC_SPEC>

Bits 0:1 - External Start Functionality Selector

source

pub fn ends(&mut self) -> ENDS_W<'_, CMC_SPEC>

Bits 2:3 - External Stop Functionality Selector

source

pub fn cap0s(&mut self) -> CAP0S_W<'_, CMC_SPEC>

Bits 4:5 - External Capture 0 Functionality Selector

source

pub fn cap1s(&mut self) -> CAP1S_W<'_, CMC_SPEC>

Bits 6:7 - External Capture 1 Functionality Selector

source

pub fn gates(&mut self) -> GATES_W<'_, CMC_SPEC>

Bits 8:9 - External Gate Functionality Selector

source

pub fn uds(&mut self) -> UDS_W<'_, CMC_SPEC>

Bits 10:11 - External Up/Down Functionality Selector

source

pub fn lds(&mut self) -> LDS_W<'_, CMC_SPEC>

Bits 12:13 - External Timer Load Functionality Selector

source

pub fn cnts(&mut self) -> CNTS_W<'_, CMC_SPEC>

Bits 14:15 - External Count Selector

source

pub fn ofs(&mut self) -> OFS_W<'_, CMC_SPEC>

Bit 16 - Override Function Selector

source

pub fn ts(&mut self) -> TS_W<'_, CMC_SPEC>

Bit 17 - Trap Function Selector

source

pub fn mos(&mut self) -> MOS_W<'_, CMC_SPEC>

Bits 18:19 - External Modulation Functionality Selector

source

pub fn tce(&mut self) -> TCE_W<'_, CMC_SPEC>

Bit 20 - Timer Concatenation Enable