Files
esp-idf/components/bootloader_support/include/bootloader_clock.h
T

26 lines
490 B
C
Raw Normal View History

2021-05-10 04:56:51 +02:00
/*
2021-12-22 22:18:43 +08:00
* SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
2021-05-10 04:56:51 +02:00
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
2019-06-26 11:02:15 +10:00
#ifdef __cplusplus
extern "C" {
#endif
/** @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 14:29:43 +08:00
/** @brief Return the rated maximum frequency of this chip
*/
int bootloader_clock_get_rated_freq_mhz(void);
2019-06-26 11:02:15 +10:00
#ifdef __cplusplus
}
#endif