Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
init_entry Struct Reference

Structure to store initialization entry information. More...

#include <init.h>

Data Fields

int(* init_fn )(void)
 If the init function belongs to a SYS_INIT, this field stored the initialization function, otherwise it is set to NULL.
 
const struct devicedev
 If the init entry belongs to a device, this fields stores a reference to it, otherwise it is set to NULL.
 

Detailed Description

Structure to store initialization entry information.

Field Documentation

◆ dev

const struct device* init_entry::dev

If the init entry belongs to a device, this fields stores a reference to it, otherwise it is set to NULL.

◆ init_fn

int(* init_entry::init_fn) (void)

If the init function belongs to a SYS_INIT, this field stored the initialization function, otherwise it is set to NULL.


The documentation for this struct was generated from the following file: