Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include <stddef.h>
#include "esp_err.h"
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "soc/sdmmc_periph.h"
sdmmc_event_t
#define SDMMC_HOST_CLOCK_UPDATE_CMD_TIMEOUT_US
#define SDMMC_HOST_START_CMD_TIMEOUT_US
#define SDMMC_HOST_RESET_TIMEOUT_US
sdmmc_host_reset();
sdmmc_host_start_command(int, sdmmc_hw_cmd_t, uint32_t);
sdmmc_host_wait_for_event(int, sdmmc_event_t *);
sdmmc_host_dma_prepare(sdmmc_desc_t *, size_t, size_t);
sdmmc_host_dma_stop();
sdmmc_host_dma_resume();
sdmmc_host_card_busy();
sdmmc_host_enable_clk_cmd11(int, bool);
sdmmc_host_transaction_handler_init();
sdmmc_host_transaction_handler_deinit();
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_driver_sdmmc/src/sdmmc_internal.h
 
1
2
3
4
5
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
31
32
33
34
35
36
37
38
39
40
41
42
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include <stdint.h> #include <stddef.h> #include "esp_err.h" #include "freertos/FreeRTOS.h" #include "freertos/queue.h" #include "soc/sdmmc_periph.h"6 includes typedef struct { uint32_t sdmmc_status; ///< masked SDMMC interrupt status uint32_t dma_status; ///< masked DMA interrupt status }{ ... } sdmmc_event_t; #define SDMMC_HOST_CLOCK_UPDATE_CMD_TIMEOUT_US 1000 * 1000 #define SDMMC_HOST_START_CMD_TIMEOUT_US 1000 * 1000 #define SDMMC_HOST_RESET_TIMEOUT_US 5000 * 1000 esp_err_t sdmmc_host_reset(void); esp_err_t sdmmc_host_start_command(int slot, sdmmc_hw_cmd_t cmd, uint32_t arg); esp_err_t sdmmc_host_wait_for_event(int tick_count, sdmmc_event_t* out_event); void sdmmc_host_dma_prepare(sdmmc_desc_t* desc, size_t block_size, size_t data_size); void sdmmc_host_dma_stop(void); void sdmmc_host_dma_resume(void); bool sdmmc_host_card_busy(void); void sdmmc_host_enable_clk_cmd11(int slot, bool enable); esp_err_t sdmmc_host_transaction_handler_init(void); void sdmmc_host_transaction_handler_deinit(void);
Details