MSPM0G1X0X_G3X0X Driver Library  1.10.01.05
Modules | Data Structures | Macros | Typedefs | Functions
General Purpose Timer Advance (TIMA)
Collaboration diagram for General Purpose Timer Advance (TIMA):

Modules

 DL_TIMERA_CAPTURE_COMPARE_INDEX
 
 DL_TIMER_CCx
 
 DL_TIMERA_INTERRUPT
 
 DL_TIMERA_EVENT
 
 DL_TIMERA_CCP0_DIS_OUT_ADV
 
 DL_TIMERA_CCP1_DIS_OUT_ADV
 
 DL_TIMERA_CCP2_DIS_OUT_ADV
 
 DL_TIMERA_CCP3_DIS_OUT_ADV
 
 DL_TIMERA_IIDX
 
 DL_TIMERA_FAULT_SOURCE
 
 DL_TIMER_FAULT_ENTRY_CCP
 
 DL_TIMER_FAULT_EXIT_CCP
 
 DL_TIMER_FAULT_EXIT_CTR
 
 DL_TIMER_FAULT_ENTRY_CTR
 
 DL_TIMERA_FAULT_CONFIG_TFIM
 
 DL_TIMERA_FAULT_CONFIG_FL
 
 DL_TIMERA_FAULT_CONFIG_FI
 
 DL_TIMERA_FAULT_CONFIG_FIEN
 
 DL_TIMERA_FAULT_FILT
 
 DL_TIMERA_FAULT_FILTER_CPV
 
 DL_TIMERA_FAULT_FILTER_FP
 
 DL_TIMERA_PUBLISHER_INDEX
 
 DL_TIMERA_SUBSCRIBER_INDEX
 
 DL_TIMERA_EVENT_ROUTE
 

Data Structures

struct  DL_TimerA_PWMConfig
 Configuration struct for DL_TimerA_initPWMMode. More...
 
struct  DL_TimerA_backupConfig
 Configuration structure to backup Timer A peripheral state before entering STOP or STANDBY mode. Not required after PG 1.0 silicon. Used by DL_TimerA_saveConfiguration and DL_TimerA_restoreConfiguration. More...
 

Macros

#define DL_TimerA_enablePower   DL_Timer_enablePower
 Redirects to common DL_Timer_enablePower.
 
#define DL_TimerA_disablePower   DL_Timer_disablePower
 Redirects to common DL_Timer_disablePower.
 
#define DL_TimerA_isPowerEnabled   DL_Timer_isPowerEnabled
 Redirects to common DL_Timer_isPowerEnabled.
 
#define DL_TimerA_reset   DL_Timer_reset
 Redirects to common DL_Timer_reset.
 
#define DL_TimerA_isReset   DL_Timer_isReset
 Redirects to common DL_Timer_isReset.
 
#define DL_TimerA_setCCPDirection   DL_Timer_setCCPDirection
 Redirects to common DL_Timer_setCCPDirection.
 
#define DL_TimerA_getCCPDirection   DL_Timer_getCCPDirection
 Redirects to common DL_Timer_getCCPDirection.
 
#define DL_TimerA_setCCPOutputDisabled   DL_Timer_setCCPOutputDisabled
 Redirects to common DL_Timer_setCCPOutputDisabled.
 
#define DL_TimerA_setCCPOutputDisabledAdv   DL_Timer_setCCPOutputDisabledAdv
 Redirects to common DL_Timer_setCCPOutputDisabledAdv.
 
#define DL_TimerA_setClockConfig   DL_Timer_setClockConfig
 Redirects to common DL_Timer_setClockConfig.
 
#define DL_TimerA_getClockConfig   DL_Timer_getClockConfig
 Redirects to common DL_Timer_getClockConfig.
 
#define DL_TimerA_enableClock   DL_Timer_enableClock
 Redirects to common DL_Timer_getClockConfig.
 
#define DL_TimerA_disableClock   DL_Timer_disableClock
 Redirects to common DL_Timer_getClockConfig.
 
#define DL_TimerA_isClockEnabled   DL_Timer_isClockEnabled
 Redirects to common DL_Timer_isClockEnabled.
 
#define DL_TimerA_configCrossTrigger   DL_Timer_configCrossTrigger
 Redirects to common DL_Timer_configCrossTrigger.
 
#define DL_TimerA_configCrossTriggerSrc   DL_Timer_configCrossTriggerSrc
 Redirects to common DL_Timer_configCrossTriggerSrc.
 
#define DL_TimerA_configCrossTriggerInputCond   DL_Timer_configCrossTriggerInputCond
 Redirects to common DL_Timer_configCrossTriggerInputCond.
 
#define DL_TimerA_configCrossTriggerEnable   DL_Timer_configCrossTriggerEnable
 Redirects to common DL_Timer_configCrossTriggerEnable.
 
#define DL_TimerA_getCrossTriggerConfig   DL_Timer_getCrossTriggerConfig
 Redirects to common DL_Timer_getCrossTriggerConfig.
 
#define DL_TimerA_getCrossTriggerSrc   DL_Timer_getCrossTriggerSrc
 Redirects to common DL_Timer_getCrossTriggerSrc.
 
#define DL_TimerA_getCrossTriggerInputCond   DL_Timer_getCrossTriggerInputCond
 Redirects to common DL_Timer_getCrossTriggerInputCond.
 
#define DL_TimerA_getCrossTriggerEnable   DL_Timer_getCrossTriggerEnable
 Redirects to common DL_Timer_getCrossTriggerEnable.
 
#define DL_TimerA_enableShadowFeatures   DL_Timer_enableShadowFeatures
 Redirects to common DL_Timer_enableShadowFeatures.
 
#define DL_TimerA_disableShadowFeatures   DL_Timer_disableShadowFeatures
 Redirects to common DL_Timer_disableShadowFeatures.
 
#define DL_TimerA_generateCrossTrigger   DL_Timer_generateCrossTrigger
 Redirects to common DL_Timer_generateCrossTrigger.
 
#define DL_TimerA_setLoadValue   DL_Timer_setLoadValue
 Redirects to common DL_Timer_setLoadValue.
 
#define DL_TimerA_getLoadValue   DL_Timer_getLoadValue
 Redirects to common DL_Timer_getLoadValue.
 
#define DL_TimerA_getTimerCount   DL_Timer_getTimerCount
 Redirects to common DL_Timer_getTimerCount.
 
#define DL_TimerA_setTimerCount   DL_Timer_setTimerCount
 Redirects to common DL_Timer_setTimerCount.
 
#define DL_TimerA_enableLZEventSuppression   DL_Timer_enableLZEventSuppression
 Redirects to common DL_Timer_enableLZEventSuppression.
 
#define DL_TimerA_disableLZEventSuppression   DL_Timer_disableLZEventSuppression
 Redirects to common DL_Timer_disableLZEventSuppression.
 
#define DL_TimerA_isLZEventSuppressionEnabled   DL_Timer_isLZEventSuppressionEnabled
 Redirects to common DL_Timer_isLZEventSuppressionEnabled.
 
#define DL_TimerA_setDebugReleaseBehavior   DL_Timer_setDebugReleaseBehavior
 Redirects to common DL_Timer_setDebugReleaseBehavior.
 
#define DL_TimerA_getDebugReleaseBehavior   DL_Timer_getDebugReleaseBehavior
 Redirects to common DL_Timer_getDebugReleaseBehavior.
 
#define DL_TimerA_setCounterControl   DL_Timer_setCounterControl
 Redirects to common DL_Timer_setCounterControl.
 
#define DL_TimerA_getCounterZeroControl   DL_Timer_getCounterZeroControl
 Redirects to common DL_Timer_getCounterZeroControl.
 
#define DL_TimerA_getCounterAdvanceControl   DL_Timer_getCounterAdvanceControl
 Redirects to common DL_Timer_getCounterAdvanceControl.
 
#define DL_TimerA_getCounterLoadControl   DL_Timer_getCounterLoadControl
 Redirects to common DL_Timer_getCounterLoadControl.
 
#define DL_TimerA_setCounterMode   DL_Timer_setCounterMode
 Redirects to common DL_Timer_setCounterMode.
 
#define DL_TimerA_getCounterMode   DL_Timer_getCounterMode
 Redirects to common DL_Timer_getCounterMode.
 
#define DL_TimerA_setCounterValueAfterEnable   DL_Timer_setCounterValueAfterEnable
 Redirects to common DL_Timer_setCounterValueAfterEnable.
 
#define DL_TimerA_getCounterValueAfterEnable   DL_Timer_getCounterValueAfterEnable
 Redirects to common DL_Timer_getCounterValueAfterEnable.
 
#define DL_TimerA_setCounterRepeatMode   DL_Timer_setCounterRepeatMode
 Redirects to common DL_Timer_setCounterRepeatMode.
 
#define DL_TimerA_getCounterRepeatMode   DL_Timer_getCounterRepeatMode
 Redirects to common DL_Timer_getCounterRepeatMode.
 
#define DL_TimerA_initTimerMode   DL_Timer_initTimerMode
 Redirects to common DL_Timer_initTimerMode.
 
#define DL_TimerA_initCaptureMode   DL_Timer_initCaptureMode
 Redirects to common DL_Timer_initCaptureMode.
 
#define DL_TimerA_initCaptureTriggerMode   DL_Timer_initCaptureTriggerMode
 Redirects to common DL_Timer_initCaptureTriggerMode.
 
#define DL_TimerA_initCaptureCombinedMode   DL_Timer_initCaptureCombinedMode
 Redirects to common DL_Timer_initCaptureCombinedMode.
 
#define DL_TimerA_initCompareMode   DL_Timer_initCompareMode
 Redirects to common DL_Timer_initCompareMode.
 
#define DL_TimerA_initCompareTriggerMode   DL_Timer_initCompareTriggerMode
 Redirects to common DL_Timer_initCompareTriggerMode.
 
#define DL_TimerA_resetCounterMode   DL_Timer_resetCounterMode
 Redirects to common DL_Timer_resetCounterMode.
 
#define DL_TimerA_setCaptureCompareValue   DL_Timer_setCaptureCompareValue
 Redirects to common DL_Timer_setCaptureCompareValue.
 
#define DL_TimerA_getCaptureCompareValue   DL_Timer_getCaptureCompareValue
 Redirects to common DL_Timer_getCaptureCompareValue.
 
#define DL_TimerA_setCaptureCompareCtl   DL_Timer_setCaptureCompareCtl
 Redirects to common DL_Timer_setCaptureCompareCtl.
 
#define DL_TimerA_getCaptureCompareCtl   DL_Timer_getCaptureCompareCtl
 Redirects to common DL_Timer_getCaptureCompareCtl.
 
#define DL_TimerA_setSecondCompSrcDn   DL_Timer_setSecondCompSrcDn
 Redirects to common DL_Timer_setSecondCompSrcDn.
 
#define DL_TimerA_getSecondCompSrcDn   DL_Timer_GetSecondCompSrcDn
 Redirects to common DL_Timer_getSecondCompSrcDn.
 
#define DL_TimerA_setSecondCompSrcUp   DL_Timer_setSecondCompSrcUp
 Redirects to common DL_Timer_setSecondCompSrcUp.
 
#define DL_TimerA_getSecondCompSrcUp   DL_Timer_GetSecondCompSrcUp
 Redirects to common DL_Timer_getSecondCompSrcUp.
 
#define DL_TimerA_setCaptCompUpdateMethod   DL_Timer_setCaptCompUpdateMethod
 Redirects to common DL_Timer_setCaptCompUpdateMethod.
 
#define DL_TimerA_getCaptCompUpdateMethod   DL_Timer_getCaptCompUpdateMethod
 Redirects to common DL_Timer_getCaptCompUpdateMethod.
 
#define DL_TimerA_enableSuppressionOfCompEvent   DL_Timer_enableSuppressionOfCompEvent
 Redirects to common DL_Timer_enableSuppressionOfCompEvent.
 
#define DL_Timer_disableSuppressionOfCompEvent   DL_Timer_disableSuppressionOfCompEvent
 Redirects to common DL_Timer_disableSuppressionOfCompEvent.
 
#define DL_TimerA_setCaptureCompareOutCtl   DL_Timer_setCaptureCompareOutCtl
 Redirects to common DL_Timer_setCaptureCompareOutCtl.
 
#define DL_TimerA_getCaptureCompareOutCtl   DL_Timer_getCaptureCompareOutCtl
 Redirects to common DL_Timer_getCaptureCompareOutCtl.
 
#define DL_TimerA_setCaptureCompareAction   DL_Timer_setCaptureCompareAction
 Redirects to common DL_Timer_setCaptureCompareAction.
 
#define DL_TimerA_getCaptureCompareAction   DL_Timer_getCaptureCompareAction
 Redirects to common DL_Timer_getCaptureCompareAction.
 
#define DL_TimerA_setSecondCompActionDn   DL_Timer_setSecondCompActionDn
 Redirects to common DL_Timer_setSecondCompActionDn.
 
#define DL_TimerA_getSecondCompActionDn   DL_Timer_getSecondCompActionDn
 Redirects to common DL_Timer_getSecondCompActionDn.
 
#define DL_TimerA_setSecondCompActionUp   DL_Timer_setSecondCompActionUp
 Redirects to common DL_Timer_setSecondCompActionUp.
 
#define DL_TimerA_getSecondCompActionUp   DL_Timer_getSecondCompActionUp
 Redirects to common DL_Timer_getSecondCompActionUp.
 
#define DL_TimerA_setCaptureCompareInput   DL_Timer_setCaptureCompareInput
 Redirects to common DL_Timer_setCaptureCompareInput.
 
#define DL_TimerA_getCaptureCompareInput   DL_Timer_getCaptureCompareInput
 Redirects to common DL_Timer_getCaptureCompareInput.
 
#define DL_TimerA_setCaptureCompareInputFilter   DL_Timer_setCaptureCompareInputFilter
 Redirects to common DL_Timer_setCaptureCompareInputFilter.
 
#define DL_TimerA_getCaptureCompareInputFilter   DL_Timer_getCaptureCompareInputFilter
 Redirects to common DL_Timer_getCaptureCompareInputFilter.
 
#define DL_TimerA_enableCaptureCompareInputFilter   DL_Timer_enableCaptureCompareInputFilter
 Redirects to common DL_Timer_enableCaptureCompareInputFilter.
 
#define DL_TimerA_disableCaptureCompareInputFilter   DL_Timer_disableCaptureCompareInputFilter
 Redirects to common DL_Timer_disableCaptureCompareInputFilter.
 
#define DL_TimerA_isCaptureCompareInputFilterEnabled   DL_Timer_isCaptureCompareInputFilterEnabled
 Redirects to common DL_Timer_isCaptureCompareInputFilterEnabled.
 
#define DL_TimerA_setExternalTriggerEvent   DL_Timer_setExternalTriggerEvent
 Redirects to common DL_Timer_setExternalTriggerEvent.
 
#define DL_TimerA_getExternalTriggerEvent   DL_Timer_getExternalTriggerEvent
 Redirects to common DL_Timer_getExternalTriggerEvent.
 
#define DL_TimerA_enableExternalTrigger   DL_Timer_enableExternalTrigger
 Redirects to common DL_Timer_enableExternalTrigger.
 
#define DL_TimerA_disableExternalTrigger   DL_Timer_disableExternalTrigger
 Redirects to common DL_Timer_disableExternalTrigger.
 
#define DL_TimerA_isExternalTriggerEnabled   DL_Timer_isExternalTriggerEnabled
 Redirects to common DL_Timer_isExternalTriggerEnabled.
 
#define DL_TimerA_startCounter   DL_Timer_startCounter
 Redirects to common DL_Timer_startCounter.
 
#define DL_TimerA_stopCounter   DL_Timer_stopCounter
 Redirects to common DL_Timer_stopCounter.
 
#define DL_TimerA_isRunning   DL_Timer_isRunning
 Redirects to common DL_Timer_isRunning.
 
#define DL_TimerA_enableInterrupt   DL_Timer_enableInterrupt
 Redirects to common DL_Timer_enableInterrupt.
 
#define DL_TimerA_disableInterrupt   DL_Timer_disableInterrupt
 Redirects to common DL_Timer_disableInterrupt.
 
#define DL_TimerA_getEnabledInterrupts   DL_Timer_getEnabledInterrupts
 Redirects to common DL_Timer_getEnabledInterrupts.
 
#define DL_TimerA_getEnabledInterruptStatus   DL_Timer_getEnabledInterruptStatus
 Redirects to common DL_Timer_getEnabledInterruptStatus.
 
#define DL_TimerA_getRawInterruptStatus   DL_Timer_getRawInterruptStatus
 Redirects to common DL_Timer_getRawInterruptStatus.
 
#define DL_TimerA_getPendingInterrupt   DL_Timer_getPendingInterrupt
 Redirects to common DL_Timer_getPendingInterrupt.
 
#define DL_TimerA_clearInterruptStatus   DL_Timer_clearInterruptStatus
 Redirects to common DL_Timer_clearInterruptStatus.
 
#define DL_TimerA_clearInterruptStatus   DL_Timer_clearInterruptStatus
 Redirects to common DL_Timer_clearInterruptStatus.
 
#define DL_TimerA_setDeadBand   DL_Timer_setDeadBand
 Redirects to common DL_Timer_setDeadBand.
 
#define DL_TimerA_getDeadBandFallDelay   DL_Timer_getDeadBandFallDelay
 Redirects to common DL_Timer_getDeadBandFallDelay.
 
#define DL_TimerA_getDeadBandRiseDelay   DL_Timer_getDeadBandRiseDelay
 Redirects to common DL_Timer_getDeadBandRiseDelay.
 
#define DL_TimerA_setRepeatCounter   DL_Timer_setRepeatCounter
 Redirects to common DL_Timer_setRepeatCounter.
 
#define DL_TimerA_getRepeatCounter   DL_Timer_getRepeatCounter
 Redirects to common DL_Timer_getRepeatCounter.
 
#define DL_TimerA_enablePhaseLoad   DL_Timer_enablePhaseLoad
 Redirects to common DL_Timer_enablePhaseLoad.
 
#define DL_TimerA_disablePhaseLoad   DL_Timer_disablePhaseLoad
 Redirects to common DL_Timer_disablePhaseLoad.
 
#define DL_TimerA_isPhaseLoadEnabled   DL_Timer_isPhaseLoadEnabled
 Redirects to common DL_Timer_isPhaseLoadEnabled.
 
#define DL_TimerA_setPhaseLoadValue   DL_Timer_setPhaseLoadValue
 Redirects to common DL_Timer_setPhaseLoadValue.
 
#define DL_TimerA_getPhaseLoadValue   DL_Timer_getPhaseLoadValue
 Redirects to common DL_Timer_getPhaseLoadValue.
 
#define DL_TimerA_setPublisherChanID   DL_Timer_setPublisherChanID
 Redirects to common DL_Timer_setPublisherChanID.
 
#define DL_TimerA_getPublisherChanID   DL_Timer_getPublisherChanID
 Redirects to common DL_Timer_getPublisherChanID.
 
#define DL_TimerA_setSubscriberChanID   DL_Timer_setSubscriberChanID
 Redirects to common DL_Timer_setSubscriberChanID.
 
#define DL_TimerA_getSubscriberChanID   DL_Timer_getSubscriberChanID
 Redirects to common DL_Timer_getSubscriberChanID.
 
#define DL_TimerA_enableEvent   DL_Timer_enableEvent
 Redirects to common DL_Timer_enableEvent.
 
#define DL_TimerA_disableEvent   DL_Timer_disableEvent
 Redirects to common DL_Timer_disableEvent.
 
#define DL_TimerA_getEnabledEvents   DL_Timer_getEnabledEvents
 Redirects to common DL_Timer_getEnabledEvents.
 
#define DL_TimerA_getEnabledEventStatus   DL_Timer_getEnabledEventStatus
 Redirects to common DL_Timer_getEnabledEventStatus.
 
#define DL_TimerA_getRawEventsStatus   DL_Timer_getRawEventsStatus
 Redirects to common DL_Timer_getRawEventsStatus.
 
#define DL_TimerA_setFaultConfig   DL_Timer_setFaultConfig
 Redirects to common DL_Timer_setFaultConfig.
 
#define DL_TimerA_getFaultConfig   DL_Timer_getFaultConfig
 Redirects to common DL_Timer_getFaultConfig.
 
#define DL_TimerA_enableFaultInput   DL_Timer_enableFaultInput
 Redirects to common DL_Timer_enableFaultInput.
 
#define DL_TimerA_disableFaultInput   DL_Timer_disableFaultInput
 Redirects to common DL_Timer_disableFaultInput.
 
#define DL_TimerA_isFaultInputEnabled   DL_Timer_isFaultInputEnabled
 Redirects to common DL_Timer_isFaultInputEnabled.
 
#define DL_TimerA_enableClockFaultDetection   DL_Timer_enableClockFaultDetection
 Redirects to common DL_Timer_enableClockFaultDetection.
 
#define DL_TimerA_disableClockFaultDetection   DL_Timer_disableClockFaultDetection
 Redirects to common DL_Timer_disableClockFaultDetection.
 
#define DL_TimerA_isClockFaultDetectionEnabled   DL_Timer_isClockFaultDetectionEnabled
 Redirects to common DL_Timer_isClockFaultDetectionEnabled.
 
#define DL_TimerA_setFaultSourceConfig   DL_Timer_setFaultSourceConfig
 Redirects to common DL_Timer_setFaultSourceConfig.
 
#define DL_TimerA_getFaultSourceConfig   DL_Timer_getFaultSourceConfig
 Redirects to common DL_Timer_getFaultSourceConfig.
 
#define DL_TimerA_setFaultInputFilterConfig   DL_Timer_setFaultInputFilterConfig
 Redirects to common DL_Timer_setFaultInputFilterConfig.
 
#define DL_TimerA_getFaultInputFilterConfig   DL_Timer_getFaultInputFilterConfig
 Redirects to common DL_Timer_getFaultInputFilterConfig.
 
#define DL_TimerA_configFaultOutputAction   DL_Timer_configFaultOutputAction
 Redirects to common DL_Timer_configFaultOutputAction.
 
#define DL_TimerA_configFaultCounter   DL_Timer_configFaultCounter
 Redirects to common DL_Timer_configFaultCounter.
 
#define DL_TimerA_setCoreHaltBehavior   DL_Timer_setCoreHaltBehavior
 Redirects to common DL_Timer_setCoreHaltBehavior.
 
#define DL_TimerA_getHaltBehavior   DL_Timer_getCoreHaltBehavior
 Redirects to common DL_Timer_getCoreHaltBehavior.
 

Typedefs

typedef DL_Timer_ClockConfig DL_TimerA_ClockConfig
 Redirects to common DL_Timer_ClockConfig.
 
typedef DL_Timer_TimerConfig DL_TimerA_TimerConfig
 Redirects to common DL_Timer_TimerConfig.
 
typedef DL_Timer_CaptureConfig DL_TimerA_CaptureConfig
 Redirects to common DL_Timer_CaptureConfig.
 
typedef DL_Timer_CaptureTriggerConfig DL_TimerA_CaptureTriggerConfig
 Redirects to common DL_Timer_CaptureTriggerConfig.
 
typedef DL_Timer_CaptureCombinedConfig DL_TimerA_CaptureCombinedConfig
 Redirects to common DL_Timer_CaptureCombinedConfig.
 
typedef DL_Timer_CompareConfig DL_TimerA_CompareConfig
 Redirects to common DL_Timer_CompareConfig.
 
typedef DL_Timer_CompareTriggerConfig DL_TimerA_CompareTriggerConfig
 Redirects to common DL_Timer_CompareTriggerConfig.
 

Functions

void DL_TimerA_initPWMMode (GPTIMER_Regs *gptimer, DL_TimerA_PWMConfig *config)
 Configure timer in Pulse Width Modulation (PWM) Mode Initializes all the common configurable options for the TIMA peripheral when used in PWM mode. Any other custom configuration can be done after calling this API. More...
 
bool DL_TimerA_saveConfiguration (GPTIMER_Regs *gptimer, DL_TimerA_backupConfig *ptr)
 Saves TimerA configuration before entering STOP or STANDBY mode. Only necessary for PG 1.0 silicon. Timer must be in IDLE state before calling this API. Timer can be put IDLE state by calling DL_TimerA_stopCounter. More...
 
bool DL_TimerA_restoreConfiguration (GPTIMER_Regs *gptimer, DL_TimerA_backupConfig *ptr, bool restoreCounter)
 Restore TimerA configuration after leaving a STOP or STANDBY mode. Only necessary for PG 1.0 silicon. More...
 

Detailed Description

Overview

The TimerA Driver Library allows you to configure the Advanced Timer (TIMA) module in output compare, input capture, PWM output, one-shot and periodic modes. For detailed TIMA features please refer to the Device Technical Reference Manual (TRM).


Function Documentation

§ DL_TimerA_initPWMMode()

void DL_TimerA_initPWMMode ( GPTIMER_Regs *  gptimer,
DL_TimerA_PWMConfig config 
)

Configure timer in Pulse Width Modulation (PWM) Mode Initializes all the common configurable options for the TIMA peripheral when used in PWM mode. Any other custom configuration can be done after calling this API.

Parameters
gptimerPointer to the register overlay for the peripheral
configPointer to the mode configuration struct DL_TimerA_PWMConfig.

§ DL_TimerA_saveConfiguration()

bool DL_TimerA_saveConfiguration ( GPTIMER_Regs *  gptimer,
DL_TimerA_backupConfig ptr 
)

Saves TimerA configuration before entering STOP or STANDBY mode. Only necessary for PG 1.0 silicon. Timer must be in IDLE state before calling this API. Timer can be put IDLE state by calling DL_TimerA_stopCounter.

Parameters
[in]gptimerPointer to the register overlay for the peripheral
[in]ptrConfiguration backup setup structure. See DL_TimerA_backupConfig.
Return values
FALSEif a configuration already exists in ptr (will not be overwritten). TRUE if a configuration was successfully saved

§ DL_TimerA_restoreConfiguration()

bool DL_TimerA_restoreConfiguration ( GPTIMER_Regs *  gptimer,
DL_TimerA_backupConfig ptr,
bool  restoreCounter 
)

Restore TimerA configuration after leaving a STOP or STANDBY mode. Only necessary for PG 1.0 silicon.

Parameters
[in]gptimerPointer to the register overlay for the peripheral
[in]ptrConfiguration backup setup structure. See DL_TimerA_backupConfig.
[in]restoreCounterIf true timer counter value is also restored (e.g. resume counts of edge counts). If false timer counter is not restored.
Return values
FALSEif a configuration does not exist in ptr (will not be loaded). TRUE if a configuration successfully loaded
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale