Contiki-NG
Macros | Functions | Variables

Header file for the cc2538 RF driver. More...

#include "contiki.h"
#include "dev/radio.h"
#include "dev/rfcore.h"
#include "reg.h"

Go to the source code of this file.

Macros

#define CC2538_RF_CSP_ISRXON()   do { REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISRXON; } while(0)
 Send an RX ON command strobe to the CSP.
 
#define CC2538_RF_CSP_ISTXON()   do { REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISTXON; } while(0)
 Send a TX ON command strobe to the CSP.
 
#define CC2538_RF_CSP_ISRFOFF()   do { REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISRFOFF; } while(0)
 Send a RF OFF command strobe to the CSP.
 
#define CC2538_RF_CSP_ISFLUSHRX()
 Flush the RX FIFO.
 
#define CC2538_RF_CSP_ISFLUSHTX()
 Flush the TX FIFO.
 

Functions

void cc2538_rf_set_addr (uint16_t pan)
 Sets addresses and PAN identifier to the relevant RF hardware registers. More...
 

Variables

const struct radio_driver cc2538_rf_driver
 The NETSTACK data structure for the cc2538 RF driver.
 

Detailed Description

Header file for the cc2538 RF driver.

Definition in file cc2538-rf.h.