os_dev.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Inria
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 OS_OS_DEV_H
20 #define OS_OS_DEV_H
21 
22 #include "dpl/dpl.h"
23 #include "dpl/queue.h"
24 
25 #include "net/ieee802154.h"
26 #include "net/netdev.h"
27 #include "net/netdev/ieee802154.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
36 struct os_dev {
38 };
39 
43 #define OS_DEV_SETHANDLERS(__dev, __open, __close) \
44  (void) __dev; \
45  (void) __open; \
46  (void) __close;
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* OS_OS_DEV_H */
ieee802154.h
IEEE 802.15.4 header definitions.
ieee802154.h
Definitions for netdev common IEEE 802.15.4 code.
os_dev::netdev
netdev_ieee802154_t netdev
Netdev parent struct.
Definition: os_dev.h:37
dpl.h
Abstraction layer for RIOT adaption.
netdev.h
Definitions low-level network driver interface.
os_dev
Device structure.
Definition: os_dev.h:36
netdev_ieee802154_t
Extended structure to hold IEEE 802.15.4 driver state.
Definition: ieee802154.h:90