1
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
34
35
36
37
38
39
40
/* ... */
#pragma once
#include "esp_types.h"
#include "esp_err.h"
#include "sd_pwr_ctrl.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct sd_pwr_ctrl_drv_t sd_pwr_ctrl_drv_t;
struct sd_pwr_ctrl_drv_t {
/* ... */
esp_err_t (*set_io_voltage)(void *ctx, int voltage_mv);
/* ... */
void *ctx;
}{ ... };
#ifdef __cplusplus
}{...}
#endif