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.

Where does the function TimerIntHandler() get assigned to be the callback function for TIMER0?

Other Parts Discussed in Thread: TM4C1297NCZAD

This question is regarding the DLP® NIRscan™ Nano Evaluation Module 

I am looking at DLPNIRscanNanoSoftware v2.1.0 (un-modified TI distribution) and trying to determine where the timer callback function  TimerIntHandler() is set to be the interrupt handler callback for TIMER0 (TIMER0_BASE). I am not able to locate this association. Searching the TI Support Forums pointed me to the board specific _startup_ccs.c file (e.g. tm4c1297nczad_startup_ccs.c). That looks like the right place but this file isn’t part of the project and there is no association in that file for TIMER0.

 

#pragma DATA_SECTION(g_pfnVectors, ".intvecs")

void (* const g_pfnVectors[])(void) =

{

    (void (*)(void))((uint32_t)&__STACK_TOP),

                                            // The initial stack pointer

    ResetISR,                               // The reset handler

    NmiSR,                                  // The NMI handler

 

//…

 

    IntDefaultHandler,                      // Timer 0 subtimer A

    IntDefaultHandler,                      // Timer 0 subtimer B

    IntDefaultHandler,                      // Timer 1 subtimer A

    IntDefaultHandler,                      // Timer 1 subtimer B

// …

   IntDefaultHandler,                      // Fan 1

    0,                                      // Reserved

};

 

Any idea where the function TimerIntHandler() gets assigned to be the callback function  for TIMER0?