MSPM0GX51X Driver Library  2.05.01.00
Data Fields
DL_Timer_CompareConfig Struct Reference

Configuration struct for DL_Timer_initCompareMode. More...

#include <dl_timer.h>

Data Fields

DL_TIMER_COMPARE_MODE compareMode
 
uint32_t count
 
DL_TIMER_COMPARE_EDGE_DETECTION_MODE edgeDetectMode
 
DL_TIMER_INPUT_CHAN inputChan
 
uint32_t inputInvMode
 
DL_TIMER startTimer
 

Detailed Description

Configuration struct for DL_Timer_initCompareMode.

Field Documentation

§ compareMode

DL_TIMER_COMPARE_MODE DL_Timer_CompareConfig::compareMode

Selects capture mode. One of DL_TIMER_COMPARE_MODE

§ count

uint32_t DL_Timer_CompareConfig::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.

§ edgeDetectMode

DL_TIMER_COMPARE_EDGE_DETECTION_MODE DL_Timer_CompareConfig::edgeDetectMode

Specifies the edge detection mode. One of DL_TIMER_CAPTURE_EDGE_DETECTION_MODE

§ inputChan

DL_TIMER_INPUT_CHAN DL_Timer_CompareConfig::inputChan

Selects input channel used for compare mode. One of DL_TIMER_INPUT_CHAN

§ inputInvMode

uint32_t DL_Timer_CompareConfig::inputInvMode

Specifies if input should be inverted. One of DL_TIMER_CC_INPUT_INV

§ startTimer

DL_TIMER DL_Timer_CompareConfig::startTimer

Start timer after configuration. One of DL_TIMER


The documentation for this struct was generated from the following file:
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale