2021-08-08 18:03:25 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-14 16:11:38 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-04-13 20:50:25 +00:00
|
|
|
/** Early initialization */
|
|
|
|
void furi_hal_clock_init_early();
|
|
|
|
|
|
|
|
/** Early deinitialization */
|
|
|
|
void furi_hal_clock_deinit_early();
|
|
|
|
|
2021-08-08 18:03:25 +00:00
|
|
|
/** Initialize clocks */
|
|
|
|
void furi_hal_clock_init();
|
|
|
|
|
|
|
|
/** Switch to HSI clock */
|
|
|
|
void furi_hal_clock_switch_to_hsi();
|
|
|
|
|
|
|
|
/** Switch to PLL clock */
|
|
|
|
void furi_hal_clock_switch_to_pll();
|
2022-04-21 13:15:19 +00:00
|
|
|
|
|
|
|
/** Stop SysTick counter without resetting */
|
|
|
|
void furi_hal_clock_suspend_tick();
|
|
|
|
|
|
|
|
/** Continue SysTick counter operation */
|
|
|
|
void furi_hal_clock_resume_tick();
|
2022-09-14 16:11:38 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|