cc110x-netdev.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Freie Universit├Ąt Berlin
3  * 2015 Kaspar Schleiser <kaspar@schleiser.de>
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
21 #ifndef CC110X_NETDEV_H
22 #define CC110X_NETDEV_H
23 
24 #include "periph/gpio.h"
25 #include "periph/spi.h"
26 #include "net/netdev.h"
27 #include "cc110x.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
37 
41 typedef struct netdev_cc110x {
45 
50 
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* CC110X_NETDEV_H */
67 
Structure to hold driver interface -> function mapping.
Struct for holding cc110x IO parameters.
Definition: cc110x.h:35
Low-level GPIO peripheral driver interface definitions.
int netdev_cc110x_setup(netdev_cc110x_t *netdev_cc110x, const cc110x_params_t *params)
netdev <-> cc110x glue code initialization function
Definitions low-level network driver interface.
Public interface for cc110x driver.
Struct for holding cc110x device state.
Definition: cc110x.h:51
Received packet status information for most radios.
Low-level SPI peripheral driver interface definition.
Structure to hold driver state.
netdev_t netdev
writing obious
Definition: cc110x-netdev.h:42
struct netdev_cc110x netdev_cc110x_t
cc110x netdev struct
cc110x_t cc110x
documentation here
Definition: cc110x-netdev.h:43
cc110x netdev struct
Definition: cc110x-netdev.h:41
const netdev_driver_t netdev_cc110x_driver
Implementation of netdev_driver_t for CC110X device.