Select one of the symbols to view example projects that use it.
 
Outline
#include <sys/param.h>
#include <inttypes.h>
#include "sdkconfig.h"
#include "rom/cache.h"
#include "esp_private/esp_cache_esp32_private.h"
s_cache_drv
cache_register_writeback(cache_driver_t *)
cache_sync()
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_mm/cache_esp32.c
 
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include <sys/param.h> #include <inttypes.h> #include "sdkconfig.h" #include "rom/cache.h" #include "esp_private/esp_cache_esp32_private.h"5 includes static cache_driver_t s_cache_drv = { Cache_Flush, NULL, }{...}; void cache_register_writeback(cache_driver_t *func) { s_cache_drv.cache_writeback_psram = func->cache_writeback_psram; }{ ... } void cache_sync(void) { if (s_cache_drv.cache_writeback_psram) { s_cache_drv.cache_writeback_psram(); }{...} s_cache_drv.cache_flush(0); #if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE s_cache_drv.cache_flush(1); #endif // !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE }{ ... }
Details
Show:
from
Types: Columns: