|
PebbleOS v4.44.0-150-gc3023ce72
|
Data Structures | |
| struct | pbl_clocksource_ops |
| Clock source operations. More... | |
| struct | pbl_clocksource |
| Clock source: a free-running counter. More... | |
| struct | pbl_clockevent_ops |
| Clock event device operations. More... | |
| struct | pbl_clockevent |
| Clock event device: a one-shot timer interrupt. More... | |
Macros | |
| #define | PBL_CLOCKSOURCE_INIT(sym, _name, _init, _ops, _bits) |
| Clock source initializer. | |
| #define | PBL_CLOCKEVENT_INIT(sym, _name, _init, _ops, _min, _max) |
| Clock event device initializer. | |
Functions | |
| void | pbl_clocksource_set_hz (const struct pbl_clocksource *cs, uint32_t hz) |
| Set the rate of a clock source. | |
| void | pbl_clocksource_set_mhz (const struct pbl_clocksource *cs, uint64_t mhz) |
| Set the rate of a clock source, with millihertz resolution. | |
| void | pbl_clockevent_set_hz (const struct pbl_clockevent *ce, uint32_t hz) |
| Set the rate of a clock event device. | |
| void | pbl_clockevent_handler (const struct pbl_clockevent *ce) |
| Report a clock event. | |
Variables | |
| const struct pbl_clocksource *const | pbl_system_clocksource |
| The system clock source, defined by the SoC's timer driver. | |
| const struct pbl_clockevent *const | pbl_system_clockevent |
| The system clock event device, defined by the SoC's timer driver. | |