cc110x-netdev.h File Reference

Variables for the cc110x netdev interface. More...

Detailed Description

Variables for the cc110x netdev interface.

Author
Fabian Nack nack@.nosp@m.inf..nosp@m.fu-be.nosp@m.rlin.nosp@m..de
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file cc110x-netdev.h.

#include "periph/gpio.h"
#include "periph/spi.h"
#include "net/netdev.h"
#include "cc110x.h"
+ Include dependency graph for cc110x-netdev.h:

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 
)

netdev <-> cc110x glue code initialization function

Parameters
[out]netdev_cc110xptr to netdev_cc110x struct ti initialize
[in]paramscc110x IO parameter struct to use
Returns
0 on success
-1 on error