Files | |
file | auto_init_utils.h |
Auto-initialization utilities. | |
Data Structures | |
struct | auto_init_module_t |
Type to represent a module to be auto-initialized. More... | |
Macros | |
#define | CONFIG_AUTO_INIT_ENABLE_DEBUG 0 |
Print a debug message before a module is initialized. | |
#define | AUTO_INIT(function, priority) |
Add a module to the auto-initialization array. | |
#define | AUTO_INIT_PRIORITY_AFTER(priority) RIOT_PP_SUCCESSOR(priority) |
Construct a priority value equal to priority + 1, to be used with AUTO_INIT. | |
Typedefs | |
typedef void(* | auto_init_fn_t) (void) |
Auto-init function type. | |
typedef uint16_t | auto_init_prio_t |
Data type to store the priority of a module. | |
#define AUTO_INIT | ( | function, | |
priority | |||
) |
Add a module to the auto-initialization array.
function | Function to be called on initialization auto_init_fn_t |
priority | Priority level auto_init_prio_t |
Definition at line 77 of file auto_init_utils.h.
#define AUTO_INIT_PRIORITY_AFTER | ( | priority | ) | RIOT_PP_SUCCESSOR(priority) |
Construct a priority value equal to priority
+ 1, to be used with AUTO_INIT.
Definition at line 94 of file auto_init_utils.h.
#define CONFIG_AUTO_INIT_ENABLE_DEBUG 0 |
Print a debug message before a module is initialized.
Definition at line 46 of file auto_init_utils.h.
typedef void(* auto_init_fn_t) (void) |
Auto-init function type.
Definition at line 52 of file auto_init_utils.h.
typedef uint16_t auto_init_prio_t |
Data type to store the priority of a module.
Definition at line 57 of file auto_init_utils.h.