Contiki-NG

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/linkaddr.h"
#include "net/netstack.h"
#include "net/mac/tsch/tsch.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 "lib/iq-seeder.h"
#include <string.h>
#include "sys/log.h"

Go to the source code of this file.

Functions

static uint8_t get_channel ()
 Get the current operating channel. More...
 
static void set_channel (uint8_t channel)
 Set the current operating channel. More...
 
static radio_value_t get_rssi (void)
 Reads the current signal strength (RSSI) More...
 
static void get_iq_lsbs (radio_value_t *value)
 Reads the current I/Q data of the received signal. More...
 
static int init (void)
 
 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...
 

Variables

const 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.