cc110x.h File Reference

Public interface for cc110x driver. More...

Detailed Description

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file cc110x.h.

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

Go to the source code of this file.

Data Structures

struct  cc110x_params
 Struct for holding cc110x IO parameters. More...
 
struct  cc110x
 Struct for holding cc110x device state. More...
 

Typedefs

typedef struct cc110x_params cc110x_params_t
 Struct for holding cc110x IO parameters.
 
typedef struct cc110x cc110x_t
 forward declaration
 

Functions

int cc110x_setup (cc110x_t *dev, const cc110x_params_t *params)
 Setup cc110x device parameters. More...
 
int16_t cc110x_set_channel (cc110x_t *dev, uint8_t channr)
 Set cc110x channel number. More...
 
int cc110x_send (cc110x_t *dev, cc110x_pkt_t *packet)
 Send raw cc110x packet. More...
 
uint8_t cc110x_get_address (cc110x_t *dev)
 Set cc110x radio address. More...
 
uint8_t cc110x_set_address (cc110x_t *dev, uint8_t address)
 Set cc110x radio address. More...
 
void cc110x_set_monitor (cc110x_t *dev, uint8_t mode)
 Set cc110x monitor mode setting. More...