-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Description
I would like to use ztimer with a periph_timer
and a periph_rtt
in a low power application. The application wakes up in a fixed interval. To save energy, I have to disable periph_timer
when the board is sleeping. How do achieve this with ztimer?
My basic idea is to block the power state that puts the device into deep sleep if at least one XTIMER_USEC
clock is running.
Does ztimer know, how many timers are currently running on a specific clock?
Would it be a good idea to extend ztimer_clock_t
with callbacks that are called if the number of the clock's user changes from 0 to 1 or from 1 to 0?
Metadata
Metadata
Assignees
Labels
No labels