TIMER_A DriverLib Summary
TIMER_A DriverLib Summary
This diagram attempts to summarize the functions found in the TIMER_A module of the
MSP430ware Driver Library.
Many of the functions have arrows pointed to/from the three main parts of the timer peripheral:
TAR (the main timer/counter); CCR (used for Compare); and CCR (used for Capture). The arrows
indicate whether the function reads or writes the associated registers.
MSP430ware TIMER_A Summary
TIMER_A_configureContinuousMode()
TIMER_A_configureUpMode()
TIMER_A_configureUpDownMode()
16-bit Counter
(TAR)
CCR0
CCR6
.
.
.
Timer_A Ctrl Reg
CCR0 Ctrl Reg
CCR6 Ctrl Reg
TIMER_A_initCapture()
TIMER_A_startCounter()
TIMER_A_clear()
TIMER_A_stop()
MISC Functions
TIMER_A_getSynchronizedCaptureCompareInput()
TIMER_A_getOutputForOutputModeOutBitValue()
TIMER_A_setOutputForOutputModeOutBitValue()
TIMER_A_getCounterValue()
TIMER_A_initCompare()
TIMER_A_setCompareValue
TIMER_A_getCaptureCompareCount()
Intertupt Functions
TIMER_A_enableInterrupt()
TIMER_A_disableInterrupt()
TIMER_A_getInterruptStatus()
TIMER_A_enableCaptureCompareInterrupt()
TIMER_A_disableCaptureCompareInterrupt()
TIMER_A_getCaptureCompareInterruptStatus()
TIMER_A_clearCaptureCompareInterruptFlag()
TIMER_A_clearTimerInterruptFlag()
TIMER_A_generatePWM()
The bottom of the slide contains two boxes: one summarizes the Interrupt related functions while
the other contains three functions that read/write the input and output bit values.
6 - 32 MSP430 Workshop - Timers