1
6
7
8
9
10
11
12
13
14
15
16
19
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* ... */
#pragma once
#include "esp_err.h"
#include "soc/clk_tree_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
typedef enum {
ESP_CLK_TREE_SRC_FREQ_PRECISION_CACHED,
ESP_CLK_TREE_SRC_FREQ_PRECISION_APPROX,
ESP_CLK_TREE_SRC_FREQ_PRECISION_EXACT,
ESP_CLK_TREE_SRC_FREQ_PRECISION_INVALID,
}{ ... } esp_clk_tree_src_freq_precision_t;
/* ... */
esp_err_t esp_clk_tree_src_get_freq_hz(soc_module_clk_t clk_src, esp_clk_tree_src_freq_precision_t precision,
uint32_t *freq_value);
#ifdef __cplusplus
}{...}
#endif