DL_Timer_CompareConfig
Module: Driverlib (AM13E232X) APIs / Driverlib TIMER API
Configuration struct for DL_Timer_initCompareMode.
#include <dl_timer.h>
Public Attributes
Name |
|
|---|---|
uint16_t |
|
uint32_t |
|
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