Contiki 3.x
|
Header file for the cc2538 RF driver. More...
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... | |
void | cc2538_rf_set_promiscous_mode (char p) |
Turn promiscous mode on or off. More... | |
Variables | |
struct radio_driver | cc2538_rf_driver |
The NETSTACK data structure for the cc2538 RF driver. | |
Header file for the cc2538 RF driver.
Definition in file cc2538-rf.h.