cc110x-netdev.h File Reference

Variables for the cc110x netdev interface. More...

Detailed Description

#include "periph/gpio.h"
#include "periph/spi.h"
#include "net/netdev.h"
#include "cc110x.h"
+ Include dependency graph for cc110x-netdev.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  netdev_cc110x
 cc110x netdev struct More...
typedef struct netdev_cc110x netdev_cc110x_t
 cc110x netdev struct
typedef struct netdev_radio_rx_info netdev_cc110x_rx_info_t
 Received packet status information for cc110x radios.
const netdev_driver_t netdev_cc110x_driver
 Implementation of netdev_driver_t for CC110X device.
int netdev_cc110x_setup (netdev_cc110x_t *netdev_cc110x, const cc110x_params_t *params)
 netdev <-> cc110x glue code initialization function More...

Function Documentation

◆ netdev_cc110x_setup()

int netdev_cc110x_setup ( netdev_cc110x_t netdev_cc110x,
const cc110x_params_t params 
[out]netdev_cc110xptr to netdev_cc110x struct ti initialize
[in]paramscc110x IO parameter struct to use
0 on success
-1 on error