ESP-IDF
+
0
/6 examples
SourceVu will show references to
spi_bus_dma_memory_alloc()
from the following samples and libraries:
spi_lcd_touch sample
lcd sample
receiver sample
slave sample
seg_master sample
seg_slave sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spi_bus_dma_memory_alloc()
spi_bus_dma_memory_alloc() function
Helper function for malloc DMA capable memory for SPI driver
Syntax
Show:
Summary
Declaration
Definition
from
spi_common.h:184
void
*
spi_bus_dma_memory_alloc
(
spi_host_device_t
host_id
,
size_t
size
,
uint32_t
extra_heap_caps
)
;
Implemented in
spi_common.c:926
Arguments
Argument
Description
host_id
SPI peripheral who will using the memory
size
Size in bytes, the amount of memory to allocate
extra_heap_caps
Extra heap caps based on MALLOC_CAP_DMA
Return value
Pointer to the memory if allocated successfully
Notes
This API will take care of the cache and hardware alignment internally. To free/release memory allocated by this helper function, simply calling `free()`
Examples
spi_bus_dma_memory_alloc()
is referenced by 6 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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