Zephyr Project API  3.2.0
A Scalable Open Source RTOS
init.h File Reference
#include <zephyr/toolchain.h>
#include <zephyr/kernel.h>
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  init_entry
 Static init entry structure for each device driver or services. More...
 

Macros

#define SYS_INIT(_init_fn, _level, _prio)    SYS_INIT_NAMED(_init_fn, _init_fn, _level, _prio)
 Run an initialization function at boot at specified priority. More...
 
#define SYS_INIT_NAMED(_name, _init_fn, _level, _prio)    Z_INIT_ENTRY_DEFINE(Z_SYS_NAME(_name), _init_fn, NULL, _level, _prio)
 Run an initialization function at boot at specified priority. More...