DL_Timer_CaptureConfig

Module: Driverlib (AM13E230X) APIs / Driverlib TIMER API

Configuration struct for DL_Timer_initCaptureMode.

#include <dl_timer.h>

Public Attributes

Name

DL_TIMER_CAPTURE_MODE

captureMode

uint32_t

period

DL_TIMER

startTimer

DL_TIMER_CAPTURE_EDGE_DETECTION_MODE

edgeCaptMode

DL_TIMER_INPUT_CHAN

inputChan

uint32_t

inputInvMode

Public Attributes Documentation

variable captureMode

DL_TIMER_CAPTURE_MODE captureMode;

Selects capture mode. One of DL_TIMER_CAPTURE_MODE

variable period

uint32_t period;

Specifies the capture period. 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 edgeCaptMode

DL_TIMER_CAPTURE_EDGE_DETECTION_MODE edgeCaptMode;

Specifies the edge detection mode. One of DL_TIMER_CAPTURE_EDGE_DETECTION_MODE

variable inputChan

DL_TIMER_INPUT_CHAN inputChan;

Selects input channel used for capture mode

variable inputInvMode

uint32_t inputInvMode;

Specifies if input should be inverted. One of [DL_TIMER_CC_INPUT_INV]