DL_Timer_CompareConfig

Module: Driverlib (AM13E232X) APIs / Driverlib TIMER API

Configuration struct for DL_Timer_initCompareMode.

#include <dl_timer.h>

Public Attributes

Name

DL_TIMER_COMPARE_MODE

compareMode

uint16_t

count

DL_TIMER_COMPARE_EDGE_DETECTION_MODE

edgeDetectMode

DL_TIMER_INPUT_CHAN

inputChan

uint32_t

inputInvMode

DL_TIMER

startTimer

Public Attributes Documentation

variable compareMode

DL_TIMER_COMPARE_MODE compareMode;

Selects capture mode. One of DL_TIMER_COMPARE_MODE

variable count

uint16_t count;

Specifies the intial count value. In edge count mode this value will decrease everytime the configured edge detection mode is detected. The counter will be reset to this value after the reaching zero. Valid range [0-65535].

variable edgeDetectMode

DL_TIMER_COMPARE_EDGE_DETECTION_MODE edgeDetectMode;

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 compare mode. One of DL_TIMER_INPUT_CHAN

variable inputInvMode

uint32_t inputInvMode;

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

variable startTimer

DL_TIMER startTimer;

Start timer after configuration. One of DL_TIMER