TIMER_Init_TypeDef Struct Reference
[TIMER]

#include <em_timer.h>

Collaboration diagram for TIMER_Init_TypeDef:
Collaboration graph
[legend]

Data Fields

bool enable
bool debugRun
TIMER_Prescale_TypeDef prescale
TIMER_ClkSel_TypeDef clkSel
TIMER_InputAction_TypeDef fallAction
TIMER_InputAction_TypeDef riseAction
TIMER_Mode_TypeDef mode
bool dmaClrAct
bool quadModeX4
bool oneShot
bool sync

Detailed Description

TIMER initialization structure.

Definition at line 265 of file em_timer.h.


Field Documentation

Clock selection.

Definition at line 277 of file em_timer.h.

Referenced by TIMER_Init().

Counter shall keep running during debug halt.

Definition at line 271 of file em_timer.h.

Referenced by TIMER_Init().

DMA request clear on active.

Definition at line 298 of file em_timer.h.

Referenced by TIMER_Init().

Start counting when init completed.

Definition at line 268 of file em_timer.h.

Referenced by TIMER_Init().

Action on falling input edge.

Definition at line 289 of file em_timer.h.

Referenced by TIMER_Init().

Counting mode.

Definition at line 295 of file em_timer.h.

Referenced by TIMER_Init().

Determines if only counting up or down once.

Definition at line 304 of file em_timer.h.

Referenced by TIMER_Init().

Prescaling factor, if HFPER clock used.

Definition at line 274 of file em_timer.h.

Referenced by TIMER_Init().

Select X2 or X4 quadrature decode mode (if used).

Definition at line 301 of file em_timer.h.

Referenced by TIMER_Init().

Action on rising input edge.

Definition at line 292 of file em_timer.h.

Referenced by TIMER_Init().

Timer start/stop/reload by other timers.

Definition at line 307 of file em_timer.h.

Referenced by TIMER_Init().


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