HAL Timebase, Power, Clock: semaphore guarded access to clock and power modes, better sleep mode. (#307)
This commit is contained in:
@@ -16,6 +16,9 @@ typedef enum {
|
||||
/* Initialize drivers */
|
||||
void api_hal_power_init();
|
||||
|
||||
/* Go to deep sleep */
|
||||
void api_hal_power_deep_sleep();
|
||||
|
||||
/* Get predicted remaining battery capacity in percents */
|
||||
uint8_t api_hal_power_get_pct();
|
||||
|
||||
|
Reference in New Issue
Block a user