TIMER_InitCC_TypeDef Struct ReferenceEMLIB > TIMER

TIMER compare/capture initialization structure.

Definition at line 316 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_PRSSEL_TypeDef prsSel

Field Documentation

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cmoa

Counter match output action.

Definition at line 336 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cofoa

Counter overflow output action.

Definition at line 333 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 354 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cufoa

Counter underflow output action.

Definition at line 330 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_Edge_TypeDef TIMER_InitCC_TypeDef::edge

Input capture edge select.

Definition at line 321 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_Event_TypeDef TIMER_InitCC_TypeDef::eventCtrl

Input capture event control.

Definition at line 318 of file em_timer.h .

Referenced by TIMER_InitCC() .

bool TIMER_InitCC_TypeDef::filter

Enable digital filter.

Definition at line 342 of file em_timer.h .

Referenced by TIMER_InitCC() .

TIMER_CCMode_TypeDef TIMER_InitCC_TypeDef::mode

Compare/capture channel mode.

Definition at line 339 of file em_timer.h .

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

bool TIMER_InitCC_TypeDef::outInvert

Invert output from compare/capture channel.

Definition at line 357 of file em_timer.h .

Referenced by TIMER_InitCC() .

bool TIMER_InitCC_TypeDef::prsInput

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

Definition at line 345 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 327 of file em_timer.h .

Referenced by TIMER_InitCC() .


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