libmetal
Loading...
Searching...
No Matches
sys.h File Reference
#include <metal/cpu.h>
#include <stdlib.h>
#include <zephyr/kernel.h>

Go to the source code of this file.

Data Structures

struct  metal_state
 

Macros

#define metal_yield()
 
#define METAL_INIT_DEFAULTS
 
#define METAL_MAX_DEVICE_REGIONS   1
 

Functions

static void metal_wait_usec (uint32_t usec_to_wait)
 

Macro Definition Documentation

◆ METAL_INIT_DEFAULTS

#define METAL_INIT_DEFAULTS
Value:
{ \
.log_handler = metal_zephyr_log_handler, \
.log_level = METAL_LOG_INFO, \
}
@ METAL_LOG_INFO
Definition log.h:31
void metal_zephyr_log_handler(enum metal_log_level level, const char *format,...)
Definition log.c:27

◆ METAL_MAX_DEVICE_REGIONS

#define METAL_MAX_DEVICE_REGIONS   1

◆ metal_yield

#define metal_yield ( )
Value:
#define metal_cpu_yield()
Definition cpu.h:15

Function Documentation

◆ metal_wait_usec()

static void metal_wait_usec ( uint32_t usec_to_wait)
inlinestatic