This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: [PATCH] Add missing interrupt sources to TimerIntEnable() documentation

Part Number: TM4C1294NCPDT


Hi,

the two timer match interrupts are missing from the official tivaware/driverlib documentation, because they are missing in the comments of TimerIntEnable(). See below for a patch that fixes this issue.

KR

 driverlib/timer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/driverlib/timer.c b/driverlib/timer.c
index 1b7f12a..c4d6028 100644
--- a/driverlib/timer.c
+++ b/driverlib/timer.c
@@ -1454,10 +1454,12 @@ TimerIntUnregister(uint32_t ui32Base, uint32_t ui32Timer)
 //! - \b TIMER_TIMA_DMA - Timer A uDMA complete
 //! - \b TIMER_CAPB_EVENT  - Capture B event interrupt
 //! - \b TIMER_CAPB_MATCH  - Capture B match interrupt
+//! - \b TIMER_TIMB_MATCH  - Timer B match interrupt
 //! - \b TIMER_TIMB_TIMEOUT  - Timer B timeout interrupt
 //! - \b TIMER_RTC_MATCH  - RTC interrupt mask
 //! - \b TIMER_CAPA_EVENT  - Capture A event interrupt
 //! - \b TIMER_CAPA_MATCH  - Capture A match interrupt
+//! - \b TIMER_TIMA_MATCH  - Timer A match interrupt
 //! - \b TIMER_TIMA_TIMEOUT  - Timer A timeout interrupt
 //!
 //! \return None.