DL_Timer_TimerConfig

Module: Driverlib (AM13E232X) APIs / Driverlib TIMER API

Configuration struct for DL_Timer_initTimerMode.

#include <dl_timer.h>

Public Attributes

Name

DL_TIMER_TIMER_MODE

timerMode

uint32_t

period

DL_TIMER

startTimer

DL_TIMER_INTERM_INT

genIntermInt

uint16_t

counterVal

Public Attributes Documentation

variable timerMode

DL_TIMER_TIMER_MODE timerMode;

One shot or Periodic mode configuration. One of DL_TIMER_TIMER_MODE

variable period

uint32_t period;

Actual period will be period_actual=(period +1)T_TIMCLK where T_TIMCLK is the period of the timer source clock.

variable startTimer

DL_TIMER startTimer;

Start timer after configuration DL_TIMER

variable genIntermInt

DL_TIMER_INTERM_INT genIntermInt;

Generate intermediate counter interrupt DL_TIMER_INTERM_INT

variable counterVal

uint16_t counterVal;

Counter value when intermediate interrupt should be generated. This member must be set to 0 when genIntermInt == DL_TIMER_INTERM_INT_DISABLED