|
PebbleOS v4.47.0-1312-gf1984a001
|
Clock source and clock event device on an SF32LB LPTIM, counting clk_rtc, which keeps running and wakes the CPU up in deep sleep. More...
Macros | |
| #define | PBL_TIMER_SF32LB_LPTIM_DEFINE(sym, _name, _base, _irq, _clk) |
| Define the clock source and clock event device of an LPTIM. | |
Clock source and clock event device on an SF32LB LPTIM, counting clk_rtc, which keeps running and wakes the CPU up in deep sleep.
| #define PBL_TIMER_SF32LB_LPTIM_DEFINE | ( | sym, | |
| _name, | |||
| _base, | |||
| _irq, | |||
| _clk | |||
| ) |
Define the clock source and clock event device of an LPTIM.
They are sym_cs and sym_ce.
| sym | Symbol. |
| _name | Name. |
| _base | Base address. |
| _irq | Interrupt line. |
| _clk | Counter clock, clk_rtc, a struct pbl_clk. |