TIMER compare/capture initialization structure.
Public Attributes#
Input capture event control.
Input capture edge select.
Peripheral reflex system trigger selection.
Counter underflow output action.
Counter overflow output action.
Counter match output action.
Compare/capture channel mode.
Enable digital filter.
Select TIMERnCCx (false) or PRS input (true).
Compare output initial state.
Invert output from compare/capture channel.
PRS output configuration.
When PRS input is used this field is used to configure the type of PRS input.
Public Attribute Documentation#
eventCtrl#
TIMER_Event_TypeDef TIMER_InitCC_TypeDef::eventCtrl
Input capture event control.
400
of file platform/emlib/inc/em_timer.h
edge#
TIMER_Edge_TypeDef TIMER_InitCC_TypeDef::edge
Input capture edge select.
403
of file platform/emlib/inc/em_timer.h
prsSel#
TIMER_PRSSEL_TypeDef TIMER_InitCC_TypeDef::prsSel
Peripheral reflex system trigger selection.
Only applicable if prsInput
is enabled.
409
of file platform/emlib/inc/em_timer.h
cufoa#
TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cufoa
Counter underflow output action.
412
of file platform/emlib/inc/em_timer.h
cofoa#
TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cofoa
Counter overflow output action.
415
of file platform/emlib/inc/em_timer.h
cmoa#
TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cmoa
Counter match output action.
418
of file platform/emlib/inc/em_timer.h
mode#
TIMER_CCMode_TypeDef TIMER_InitCC_TypeDef::mode
Compare/capture channel mode.
421
of file platform/emlib/inc/em_timer.h
filter#
bool TIMER_InitCC_TypeDef::filter
Enable digital filter.
424
of file platform/emlib/inc/em_timer.h
prsInput#
bool TIMER_InitCC_TypeDef::prsInput
Select TIMERnCCx (false) or PRS input (true).
427
of file platform/emlib/inc/em_timer.h
coist#
bool TIMER_InitCC_TypeDef::coist
Compare output initial state.
Only used in Output Compare and PWM mode. When true, the compare/PWM output is set high when the counter is disabled. When counting resumes, this value will represent the initial value for the compare/PWM output. If the bit is cleared, the output will be cleared when the counter is disabled.
436
of file platform/emlib/inc/em_timer.h
outInvert#
bool TIMER_InitCC_TypeDef::outInvert
Invert output from compare/capture channel.
439
of file platform/emlib/inc/em_timer.h
prsOutput#
TIMER_PrsOutput_t TIMER_InitCC_TypeDef::prsOutput
PRS output configuration.
PRS output from a timer can either be a pulse output or a level output that follows the CC out value.
445
of file platform/emlib/inc/em_timer.h
prsInputType#
TIMER_PrsInput_TypeDef TIMER_InitCC_TypeDef::prsInputType
When PRS input is used this field is used to configure the type of PRS input.
450
of file platform/emlib/inc/em_timer.h