Contiki-Inga 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 | |
int8_t | cc2538_rf_channel_set (uint8_t channel) |
Set the current operating channel. More... | |
uint8_t | cc2538_rf_channel_get (void) |
Get the current operating channel. More... | |
uint8_t | cc2538_rf_power_set (uint8_t new_power) |
Sets RF TX power. More... | |
void | cc2538_rf_set_addr (uint16_t pan) |
Sets addresses and PAN identifier to the relevant RF hardware registers. More... | |
int | cc2538_rf_read_rssi (void) |
Reads the current signal strength (RSSI) 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.