TIMER_InitCC_TypeDef Struct Reference
[TIMER]

#include <em_timer.h>

Collaboration diagram for TIMER_InitCC_TypeDef:
Collaboration graph
[legend]

Data Fields

TIMER_Event_TypeDef eventCtrl
TIMER_Edge_TypeDef edge
TIMER_PRSSEL_TypeDef prsSel
TIMER_OutputAction_TypeDef cufoa
TIMER_OutputAction_TypeDef cofoa
TIMER_OutputAction_TypeDef cmoa
TIMER_CCMode_TypeDef mode
bool filter
bool prsInput
bool coist
bool outInvert

Detailed Description

TIMER compare/capture initialization structure.

Definition at line 344 of file em_timer.h.


Field Documentation

Counter match output action.

Definition at line 365 of file em_timer.h.

Referenced by TIMER_InitCC().

Counter overflow output action.

Definition at line 362 of file em_timer.h.

Referenced by TIMER_InitCC().

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.

Definition at line 383 of file em_timer.h.

Referenced by TIMER_InitCC().

Counter underflow output action.

Definition at line 359 of file em_timer.h.

Referenced by TIMER_InitCC().

Input capture edge select.

Definition at line 350 of file em_timer.h.

Referenced by TIMER_InitCC().

Input capture event control.

Definition at line 347 of file em_timer.h.

Referenced by TIMER_InitCC().

Enable digital filter.

Definition at line 371 of file em_timer.h.

Referenced by TIMER_InitCC().

Compare/capture channel mode.

Definition at line 368 of file em_timer.h.

Referenced by TIMER_InitCC().

Invert output from compare/capture channel.

Definition at line 386 of file em_timer.h.

Referenced by TIMER_InitCC().

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

Definition at line 374 of file em_timer.h.

Referenced by TIMER_InitCC().

Peripheral reflex system trigger selection. Only applicable if prsInput is enabled.

Definition at line 356 of file em_timer.h.

Referenced by TIMER_InitCC().


The documentation for this struct was generated from the following file: