netdev_ieee802154_minimal_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef NETDEV_IEEE802154_MINIMAL_INTERNAL_H
20 #define NETDEV_IEEE802154_MINIMAL_INTERNAL_H
21 
22 #include "net/netdev.h"
23 #include "event.h"
24 #include "init_dev.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #ifndef DOXYGEN
31 
32 typedef struct {
33  event_t event;
34  netdev_t *dev;
36 
38 
39 #endif /* DOXYGEN */
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* NETDEV_IEEE802154_MINIMAL_INTERNAL_H */
46 
Definitions low-level network driver interface.
#define NETDEV_IEEE802154_MINIMAL_NUMOF
Maximum number of devices to handle.
device_reg_entry_t _devices[NETDEV_ETH_MINIMAL_NUMOF]
Registry of Ethernet devices to serve ISRs.
Registry entry to keep track of registered Ethernet network devices.
event structure
Definition: event.h:148
Structure to hold driver state.
Definition: netdev.h:365