TIMER_InitCC_TypeDef Struct Reference

TIMER compare/capture initialization structure.

#include <em_timer.h>

Data Fields

TIMER_Event_TypeDef eventCtrl
Input capture event control.
TIMER_Edge_TypeDef edge
Input capture edge select.
TIMER_PRSSEL_TypeDef prsSel
Peripheral reflex system trigger selection.
TIMER_OutputAction_TypeDef cufoa
Counter underflow output action.
TIMER_OutputAction_TypeDef cofoa
Counter overflow output action.
TIMER_OutputAction_TypeDef cmoa
Counter match output action.
TIMER_CCMode_TypeDef mode
Compare/capture channel mode.
bool filter
Enable digital filter.
bool prsInput
Select TIMERnCCx (false) or PRS input (true).
bool coist
Compare output initial state.
bool outInvert
Invert output from compare/capture channel.
TIMER_PrsOutput_t prsOutput
PRS output configuration.

TIMER compare/capture initialization structure.

Field Documentation

eventCtrl

TIMER_Event_TypeDef TIMER_InitCC_TypeDef::eventCtrl

Input capture event control.

edge

TIMER_Edge_TypeDef TIMER_InitCC_TypeDef::edge

Input capture edge select.

prsSel

TIMER_PRSSEL_TypeDef TIMER_InitCC_TypeDef::prsSel

Peripheral reflex system trigger selection.

Only applicable if prsInput is enabled.

cufoa

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cufoa

Counter underflow output action.

cofoa

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cofoa

Counter overflow output action.

cmoa

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cmoa

Counter match output action.

mode

TIMER_CCMode_TypeDef TIMER_InitCC_TypeDef::mode

Compare/capture channel mode.

filter

bool TIMER_InitCC_TypeDef::filter

Enable digital filter.

prsInput

bool TIMER_InitCC_TypeDef::prsInput

Select TIMERnCCx (false) or PRS input (true).

coist

bool TIMER_InitCC_TypeDef::coist