Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include <stdbool.h>
#include "esp_types.h"
#include "esp_err.h"
#include "esp_log.h"
#include "esp_check.h"
#include "soc/soc_caps.h"
#include "sd_pwr_ctrl_interface.h"
TAG
sd_pwr_ctrl_set_io_voltage(sd_pwr_ctrl_handle_t, int)
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/sdmmc/sd_pwr_ctrl/sd_pwr_ctrl.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include <stdint.h> #include <stdbool.h> #include "esp_types.h" #include "esp_err.h" #include "esp_log.h" #include "esp_check.h" #include "soc/soc_caps.h" #include "sd_pwr_ctrl_interface.h"8 includes const static char *TAG = "sd_power"; esp_err_t sd_pwr_ctrl_set_io_voltage(sd_pwr_ctrl_handle_t handle, int voltage_mv) { ESP_RETURN_ON_FALSE(handle, ESP_ERR_INVALID_ARG, TAG, "invalid arg: null pointer"); return handle->set_io_voltage(handle->ctx, voltage_mv); }{ ... }
Details
Show:
from
Types: Columns: