Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
init_entry Struct Reference

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

#include <init.h>

Data Fields

int(* init )(const struct device *dev)
 
const struct devicedev
 

Detailed Description

Static init entry structure for each device driver or services.

Parameters
initinit function for the init entry which will take the dev attribute as parameter. See below.
devpointer to a device driver instance structure. Can be NULL if the init entry is not used for a device driver but a service.

Field Documentation

◆ dev

const struct device* init_entry::dev

Pointer to a device driver instance structure. Can be NULL if the init entry is not used for a device driver but a services.

◆ init

int(* init_entry::init) (const struct device *dev)

Initialization function for the init entry which will take the dev attribute as parameter. See below.


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