libmetal
Loading...
Searching...
No Matches
lib
system
nuttx
Data Structures
|
Macros
sys.h File Reference
#include <metal/sleep.h>
Go to the source code of this file.
Data Structures
struct
metal_state
Macros
#define
metal_yield
()
#define
METAL_INIT_DEFAULTS
Macro Definition Documentation
◆
METAL_INIT_DEFAULTS
#define METAL_INIT_DEFAULTS
Value:
{ \
.log_handler = (
metal_log_handler
)syslog, \
.log_level =
METAL_LOG_INFO
, \
}
metal_log_handler
void(* metal_log_handler)(enum metal_log_level level, const char *format,...)
Definition
log.h:36
METAL_LOG_INFO
@ METAL_LOG_INFO
Definition
log.h:31
◆
metal_yield
#define metal_yield
(
)
Value:
metal_sleep_usec
(1000)
metal_sleep_usec
static int metal_sleep_usec(unsigned int usec)
delay in microseconds delay the next execution in the calling thread fo usec microseconds.
Definition
sleep.h:33
Generated on Sun Nov 10 2024 00:00:00 for libmetal by
1.12.0