Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dummy_driver.c File Reference
#include <zephyr/kernel.h>
#include <zephyr/device.h>

Data Structures

struct  dummy_driver_api
 

Macros

#define DUMMY_DRIVER_NAME   "dummy_driver"
 

Typedefs

typedef int(* dummy_api_configure_t) (const struct device *dev, uint32_t dev_config)
 

Functions

static int dummy_configure (const struct device *dev, uint32_t config)
 
int dummy_init (const struct device *dev)
 

Variables

static const struct dummy_driver_api funcs
 

Macro Definition Documentation

◆ DUMMY_DRIVER_NAME

#define DUMMY_DRIVER_NAME   "dummy_driver"

Typedef Documentation

◆ dummy_api_configure_t

typedef int(* dummy_api_configure_t) (const struct device *dev, uint32_t dev_config)

Function Documentation

◆ dummy_configure()

static int dummy_configure ( const struct device dev,
uint32_t  config 
)
static

◆ dummy_init()

int dummy_init ( const struct device dev)

Variable Documentation

◆ funcs

const struct dummy_driver_api funcs
static
Initial value:
= {
.configure = dummy_configure,
}
static int dummy_configure(const struct device *dev, uint32_t config)
Definition dummy_driver.c:21