ESP-IDF
sdmmc_dev_t::ctrl
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
sdmmc_dev_t::ctrl
sdmmc_dev_t::ctrl field
Syntax
Show:
Summary
Declaration
from
sdmmc_struct.h:79
volatile
union
{
struct
{
uint32_t
controller_reset
:
1
;
uint32_t
fifo_reset
:
1
;
uint32_t
dma_reset
:
1
;
uint32_t
reserved1
:
1
;
uint32_t
int_enable
:
1
;
uint32_t
dma_enable
:
1
;
uint32_t
read_wait
:
1
;
uint32_t
send_irq_response
:
1
;
uint32_t
abort_read_data
:
1
;
uint32_t
send_ccsd
:
1
;
uint32_t
send_auto_stop_ccsd
:
1
;
uint32_t
ceata_device_interrupt_status
:
1
;
uint32_t
reserved2
:
4
;
uint32_t
card_voltage_a
:
4
;
uint32_t
card_voltage_b
:
4
;
uint32_t
enable_od_pullup
:
1
;
uint32_t
use_internal_dma
:
1
;
uint32_t
reserved3
:
6
;
}
;
uint32_t
val
;
}
ctrl
;
Examples
References
from
examples
Code
Location
Referrer
}
ctrl
;
sdmmc_struct.h:101
hw
->
ctrl
.
controller_reset
=
1
;
sdmmc_ll.h:292
sdmmc_ll_reset_controller()
return
hw
->
ctrl
.
controller_reset
==
0
;
sdmmc_ll.h:304
sdmmc_ll_is_controller_reset_done()
hw
->
ctrl
.
dma_reset
=
1
;
sdmmc_ll.h:316
sdmmc_ll_reset_dma()
return
hw
->
ctrl
.
dma_reset
==
0
;
sdmmc_ll.h:328
sdmmc_ll_is_dma_reset_done()
hw
->
ctrl
.
fifo_reset
=
1
;
sdmmc_ll.h:340
sdmmc_ll_reset_fifo()
return
hw
->
ctrl
.
fifo_reset
==
0
;
sdmmc_ll.h:352
sdmmc_ll_is_fifo_reset_done()
hw
->
ctrl
.
dma_enable
=
1
;
sdmmc_ll.h:602
sdmmc_ll_init_dma()
hw
->
ctrl
.
dma_enable
=
en
;
sdmmc_ll.h:618
sdmmc_ll_enable_dma()
hw
->
ctrl
.
use_internal_dma
=
en
;
sdmmc_ll.h:619
sdmmc_ll_enable_dma()
hw
->
ctrl
.
use_internal_dma
=
0
;
sdmmc_ll.h:631
sdmmc_ll_stop_dma()
hw
->
ctrl
.
dma_reset
=
1
;
//here might be an issue as we don't wait the `dma_reset` to be self-cleared, check in next steps
sdmmc_ll.h:632
sdmmc_ll_stop_dma()
hw
->
ctrl
.
int_enable
=
(
uint32_t
)
en
;
sdmmc_ll.h:693
sdmmc_ll_enable_global_interrupt()
SDMMC
.
ctrl
.
fifo_reset
=
1
;
sdmmc_transaction.c:423
process_data_status()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
sdmmc_dev_t::ctrl
is read by 11 functions:
All items filtered out
sdmmc_dev_t::ctrl
process_data_status()
sdmmc_ll_reset_controller()
sdmmc_ll_is_controller_reset_done()
sdmmc_ll_reset_dma()
sdmmc_ll_is_dma_reset_done()
sdmmc_ll_reset_fifo()
sdmmc_ll_is_fifo_reset_done()
sdmmc_ll_init_dma()
sdmmc_ll_enable_dma()
sdmmc_ll_stop_dma()
sdmmc_ll_enable_global_interrupt()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out