Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
abstract_driver.h File Reference
#include <ztest.h>
#include <device.h>

Go to the source code of this file.

Data Structures

struct  subsystem_api
 

Typedefs

typedef int(* subsystem_do_this_t) (const struct device *device, int foo, int bar)
 
typedef void(* subsystem_do_that_t) (const struct device *device, unsigned int *baz)
 

Functions

static int subsystem_do_this (const struct device *device, int foo, int bar)
 
static void subsystem_do_that (const struct device *device, unsigned int *baz)
 

Typedef Documentation

◆ subsystem_do_that_t

typedef void(* subsystem_do_that_t) (const struct device *device, unsigned int *baz)

◆ subsystem_do_this_t

typedef int(* subsystem_do_this_t) (const struct device *device, int foo, int bar)

Function Documentation

◆ subsystem_do_that()

static void subsystem_do_that ( const struct device device,
unsigned int *  baz 
)
inlinestatic

◆ subsystem_do_this()

static int subsystem_do_this ( const struct device device,
int  foo,
int  bar 
)
inlinestatic