Contiki-Inga 3.x
Functions | Variables
cc2538-rf.c File Reference

Implementation of the cc2538 RF driver. More...

#include "contiki.h"
#include "dev/radio.h"
#include "sys/clock.h"
#include "sys/rtimer.h"
#include "net/packetbuf.h"
#include "net/rime/rimestats.h"
#include "net/linkaddr.h"
#include "net/netstack.h"
#include "sys/energest.h"
#include "dev/cc2538-rf.h"
#include "dev/rfcore.h"
#include "dev/sys-ctrl.h"
#include "dev/udma.h"
#include "reg.h"
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

uint8_t cc2538_rf_channel_get (void)
 Get the current operating channel. More...
 
int8_t cc2538_rf_channel_set (uint8_t channel)
 Set 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...
 
 PROCESS_THREAD (cc2538_rf_process, ev, data)
 Implementation of the cc2538 RF driver process. More...
 
void cc2538_rf_rx_tx_isr (void)
 The cc2538 RF RX/TX ISR. More...
 
void cc2538_rf_err_isr (void)
 The cc2538 RF Error ISR. 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.
 

Detailed Description

Implementation of the cc2538 RF driver.

Definition in file cc2538-rf.c.