The friendly Operating System for the Internet of Things

Structure to hold driver state. More...

Detailed Description

Supposed to be extended by driver implementations. The extended structure should contain all variable driver state.

Contains a field context which is not used by the drivers, but supposed to be used by upper layers to store reference information.

Definition at line 116 of file drivers/include/net/netdev.h.

#include <net/netdev.h>

Data Fields

const struct netdev_driverdriver
 ptr to that driver's interface. More...
netdev_event_cb_t event_callback
 callback for device events
void * context
 ptr to network stack context

Field Documentation

const struct netdev_driver* netdev::driver

Definition at line 117 of file drivers/include/net/netdev.h.

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