I'd like to do some tasks regularly (let a cursor blink, for example), but still spend most of the time in a power saving state.
It seems like
would fit the bill, but I don't know if I can just choose any timer or if some of them are used by the OS.
Code: Select all
sys_timer_start(timer_ix, ms_value); sys_sleep(); sys_timer_disable(timer_ix);
Any hints would be greatly appreciated!