Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_cache_api.c File Reference
#include <zephyr/ztest.h>
#include <zephyr/cache.h>

Macros

#define SIZE   (4096)
 

Functions

 ZTEST (cache_api, test_instr_cache_api)
 
 ZTEST (cache_api, test_data_cache_api)
 
 ZTEST_USER (cache_api, test_data_cache_api_user)
 
static void * cache_api_setup (void)
 
static void cache_api_teardown (void *unused)
 
 ZTEST_SUITE (cache_api, NULL, cache_api_setup, NULL, NULL, cache_api_teardown)
 

Variables

static ZTEST_BMEM uint8_t user_buffer [(4096)]
 

Macro Definition Documentation

◆ SIZE

#define SIZE   (4096)

Function Documentation

◆ cache_api_setup()

static void * cache_api_setup ( void  )
static

◆ cache_api_teardown()

static void cache_api_teardown ( void *  unused)
static

◆ ZTEST() [1/2]

ZTEST ( cache_api  ,
test_data_cache_api   
)

◆ ZTEST() [2/2]

ZTEST ( cache_api  ,
test_instr_cache_api   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( cache_api  ,
NULL  ,
cache_api_setup  ,
NULL  ,
NULL  ,
cache_api_teardown   
)

◆ ZTEST_USER()

ZTEST_USER ( cache_api  ,
test_data_cache_api_user   
)

Variable Documentation

◆ user_buffer

ZTEST_BMEM uint8_t user_buffer[(4096)]
static