Select one of the symbols to view example projects that use it.
 
Outline
#include <stdlib.h>
#include <stdint.h>
#include "esp_err.h"
cache_driver_s
cache_driver_s
cache_register_writeback(cache_driver_t *);
cache_sync();
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_mm/include/esp_private/esp_cache_esp32_private.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include <stdlib.h> #include <stdint.h> #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Private header for cache drivers, where cache functionality requires other components * * @note Now only esp32, can be applied to other similar chips *//* ... */ typedef struct cache_driver_s cache_driver_t; /** * @brief Cache driver *//* ... */ struct cache_driver_s { /** * @brief Cache flush * * @param[in] cpu_no CPU id *//* ... */ void (*cache_flush)(int cpu_no); /** * @brief Cache writeback to psram *//* ... */ void (*cache_writeback_psram)(void); }{ ... }; /** * @brief Register cache writeback * * @param[in] func Cache driver *//* ... */ void cache_register_writeback(cache_driver_t *func); /** * @brief Cache sync * * @note This API only do cache sync, but doesn't guarantee concurrent access to cache * @note Do not use in your application *//* ... */ void cache_sync(void); #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns: