2021-05-09 22:56:51 -04:00
|
|
|
/*
|
2021-12-22 09:18:43 -05:00
|
|
|
* SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
|
2021-05-09 22:56:51 -04:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2017-12-14 18:32:53 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-06-25 21:02:15 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-12-14 18:32:53 -05:00
|
|
|
/** @brief Configure clocks for early boot
|
|
|
|
*
|
|
|
|
* Called by bootloader, or by the app if the bootloader version is old (pre v2.1).
|
|
|
|
*/
|
|
|
|
void bootloader_clock_configure(void);
|
2019-05-27 02:29:43 -04:00
|
|
|
|
|
|
|
/** @brief Return the rated maximum frequency of this chip
|
|
|
|
*/
|
|
|
|
int bootloader_clock_get_rated_freq_mhz(void);
|
2019-08-07 23:44:24 -04:00
|
|
|
|
2019-06-25 21:02:15 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|