TIMER_InitCC_TypeDef Struct Reference

TIMER compare/capture initialization structure.

Definition at line 356 of file em_timer.h .

#include < em_timer.h >

Data Fields

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

Field Documentation

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cmoa

Counter match output action.

Definition at line 376 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cofoa

Counter overflow output action.

Definition at line 373 of file em_timer.h .

Referenced by TIMER_InitCC() .

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.

Definition at line 394 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cufoa

Counter underflow output action.

Definition at line 370 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_Edge_TypeDef TIMER_InitCC_TypeDef::edge

Input capture edge select.

Definition at line 361 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_Event_TypeDef TIMER_InitCC_TypeDef::eventCtrl

Input capture event control.

Definition at line 358 of file em_timer.h .

Referenced by TIMER_InitCC() .

bool TIMER_InitCC_TypeDef::filter

Enable digital filter.

Definition at line 382 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_CCMode_TypeDef TIMER_InitCC_TypeDef::mode

Compare/capture channel mode.

Definition at line 379 of file em_timer.h .

Referenced by BOARD_init() , TIMER_InitCC() , USBTIMER_Init() , and USTIMER_Init() .

bool TIMER_InitCC_TypeDef::outInvert

Invert output from compare/capture channel.

Definition at line 397 of file em_timer.h .

Referenced by TIMER_InitCC() .

bool TIMER_InitCC_TypeDef::prsInput

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

Definition at line 385 of file em_timer.h .

Referenced by TIMER_InitCC() .

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.

Definition at line 403 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_PRSSEL_TypeDef TIMER_InitCC_TypeDef::prsSel

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

Definition at line 367 of file em_timer.h .

Referenced by TIMER_InitCC() .


The documentation for this struct was generated from the following file:
  • C:/HandsOn/super/platform/emlib/inc/ em_timer.h