mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 02:02:02 +00:00
refactor(clk): add soc_clk_calibration_clk_src_t for all targets
Cleaned up RTC calibration clock selection code
This commit is contained in:
@@ -516,6 +516,18 @@ typedef enum {
|
||||
CLKOUT_SIG_INVALID = 0xFF,
|
||||
} soc_clkout_sig_id_t;
|
||||
|
||||
////////////////////////////////////////////RTC CALIBRATION///////////////////////////////////////////////////////////
|
||||
/**
|
||||
* @brief Clock frequency calibration source selection
|
||||
*/
|
||||
typedef enum {
|
||||
CLK_CAL_RC_SLOW = 0, /*!< Select to calibrate RC_SLOW_CLK */
|
||||
CLK_CAL_RC32K, /*!< Select to calibrate RC32K_CLK */
|
||||
CLK_CAL_32K_XTAL, /*!< Select to calibrate XTAL32K_CLK */
|
||||
CLK_CAL_32K_OSC_SLOW, /*!< Select to calibrate OSC_SLOW_CLK (external slow clock) */
|
||||
CLK_CAL_RC_FAST, /*!< Select to calibrate RC_FAST_CLK */
|
||||
} soc_timg0_calibration_clk_src_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user