EFM32 Gecko Software Documentation  efm32g-doc-4.2.1
TIMER_InitCC_TypeDef Struct Reference

#include <em_timer.h>

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 351 of file em_timer.h.

Field Documentation

TIMER_Event_TypeDef TIMER_InitCC_TypeDef::eventCtrl

Input capture event control.

Definition at line 354 of file em_timer.h.

Referenced by TIMER_InitCC().

TIMER_Edge_TypeDef TIMER_InitCC_TypeDef::edge

Input capture edge select.

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

Referenced by TIMER_InitCC().

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cufoa

Counter underflow output action.

Definition at line 366 of file em_timer.h.

Referenced by TIMER_InitCC().

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cofoa

Counter overflow output action.

Definition at line 369 of file em_timer.h.

Referenced by TIMER_InitCC().

TIMER_OutputAction_TypeDef TIMER_InitCC_TypeDef::cmoa

Counter match output action.

Definition at line 372 of file em_timer.h.

Referenced by TIMER_InitCC().

TIMER_CCMode_TypeDef TIMER_InitCC_TypeDef::mode

Compare/capture channel mode.

Definition at line 375 of file em_timer.h.

Referenced by TIMER_InitCC(), and USTIMER_Init().

bool TIMER_InitCC_TypeDef::filter

Enable digital filter.

Definition at line 378 of file em_timer.h.

Referenced by TIMER_InitCC().

bool TIMER_InitCC_TypeDef::prsInput

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

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

Referenced by TIMER_InitCC().

bool TIMER_InitCC_TypeDef::outInvert

Invert output from compare/capture channel.

Definition at line 393 of file em_timer.h.

Referenced by TIMER_InitCC().


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