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#
prsSel#
TIMER_PRSSEL_TypeDef TIMER_InitCC_TypeDef::prsSel
Peripheral reflex system trigger selection.
Only applicable if prsInput
is enabled.
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.
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.
prsInputType#
TIMER_PrsInput_TypeDef TIMER_InitCC_TypeDef::prsInputType
When PRS input is used this field is used to configure the type of PRS input.