|
Contiki 3.x
|
Implementation of the cc2530 RF driverMore...
#include "contiki.h"#include "dev/radio.h"#include "dev/cc2530-rf.h"#include "cc253x.h"#include "sfr-bits.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 <string.h>Go to the source code of this file.
Functions | |
| static uint8_t | get_channel () |
| Get the current operating channel. More... | |
| static int8_t | 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... | |
Implementation of the cc2530 RF driver
Definition in file cc2530-rf.c.
|
static |
Get the current operating channel.
Definition at line 158 of file cc2530-rf.c.
|
static |
Reads the current signal strength (RSSI)
This function reads the current RSSI on the currently configured channel.
Definition at line 222 of file cc2530-rf.c.
|
static |
Set the current operating channel.
| channel | The desired channel as a value in [11,26] |
Definition at line 170 of file cc2530-rf.c.
1.8.6