anonymous wrote on Thursday, January 26, 2012:
I would like to be able to switch my dsPIC33F into a low power mode when there are no tasks running (or all are suspended or blocking). The idea is to use the core doze mode to reduce power to 1/4 normal operation when idle by underclocking the CPU (but peripherals and timers run on the main clock, so it still keeps time.)
The simplest way of implementing this, I thought, would be to look for a vGetNumRunningTasks function; but there doesn’t seem to be one. I’d need to access the internal RTOS data structures to get the task list, which is probably a bad idea.
Thanks for a great RTOS!