esp_cache_get_alignment() function
Get Cache alignment requirement for data
Arguments
heap_caps
Flags, see `MALLOC_CAP_x`
Return value
- ESP_OK: - ESP_ERR_INVALID_ARG: Invalid argument
Notes
Now only support 'MALLOC_CAP_INTERNAL', 'MALLOC_CAP_DMA' and 'MALLOC_CAP_SPIRAM'
esp_cache_get_alignment() is called by 3 functions and calls 3 functions:
![]()
esp_cache_get_alignment()
esp_cache_get_alignment() reads 7 variables:
![]()
esp_cache_get_alignment()