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.

RTOS/CC1352R: RTC timer function hook definition

Part Number: CC1352R


Tool/software: TI-RTOS

Hi,

I'm using a function hook on the Channel 1 of the RTC to trigger events and I would like to make its definition at runtime instead of doing it in the realese.cfg file.

I have the following lines in the realsese.cfg :

var Timer = xdc.useModule('ti.sysbios.family.arm.cc26xx.Timer');
Timer.funcHookCH1 = "&RealTimeClock_InterruptHandler";

but i would rather "link" my function to the interrupt of the RTC at runtime, how can I do this ?

Thanks for the help,

Clement