ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
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
sdmmc_status
dma_status
#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...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/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
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
sdmmc_host_dma_stop()
sdmmc_host_start_command()
sdmmc_host_wait_for_event()
sdmmc_host_dma_resume()
sdmmc_host_card_busy()
sdmmc_host_enable_clk_cmd11()
sdmmc_host_reset()
sdmmc_host_dma_prepare()
sdmmc_host_transaction_handler_init()
sdmmc_host_transaction_handler_deinit()
esp_err_t
sdmmc_event_t
sdmmc_event_t::sdmmc_status
sdmmc_event_t::dma_status
sdmmc_host_start_command()::slot
sdmmc_host_start_command()::cmd
sdmmc_host_enable_clk_cmd11()::slot
sdmmc_host_wait_for_event()::out_event
sdmmc_host_enable_clk_cmd11()::enable
SDMMC_HOST_START_CMD_TIMEOUT_US
sdmmc_host_start_command()::arg
sdmmc_host_wait_for_event()::tick_count
sdmmc_host_dma_prepare()::desc
sdmmc_host_dma_prepare()::block_size
sdmmc_host_dma_prepare()::data_size
SDMMC_HOST_RESET_TIMEOUT_US
SDMMC_HOST_CLOCK_UPDATE_CMD_TIMEOUT_US
sdmmc_event_t
sdmmc_hw_cmd_t
sdmmc_desc_t