Tool/software: TI-RTOS
Hi
How to insert provisional code before RTOS enter IDLE mode.
For example when RTOS identified that system has no activity and want to enter into IDLE, how to place a trap where it jump to my routine and put device to sleep mode, turn off LED, do this and that to save power and then return back to RTOS core to enter into IDLE.
Also the same when waking up from IDLE to active to reactivate this and that.
Thanks