1
6
7
8
9
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
46
47
48
49
50
/* ... */
#pragma once
#include <stdbool.h>
#include "esp_err.h"
#include "soc/clk_tree_defs.h"
#include "soc/gpio_num.h"
#include "soc/soc_caps.h"
#include "soc/io_mux_reg.h"6 includes
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
esp_err_t io_mux_set_clock_source(soc_module_clk_t clk_src);
#if SOC_LP_IO_CLOCK_IS_INDEPENDENT
typedef struct {
uint8_t rtc_io_enabled_cnt[MAX_RTC_GPIO_NUM + 1];
uint32_t rtc_io_using_mask;
}{...} rtc_io_status_t;
/* ... */
void io_mux_enable_lp_io_clock(gpio_num_t gpio_num, bool enable);/* ... */
#endif
#ifdef __cplusplus
}{...}
#endif