btnut/btnode/include/cc/cc1000.h File Reference


Detailed Description

Chipcon CC1000 driver.

2004/06/19 Matthias Ringwald <mringwal@inf.ethz.ch>

#include <sys/types.h>

Data Structures

struct  cc_channel

Functions

void cc1000_calc_channel (u_long desiredFreq, struct cc_channel *chan)
void cc1000_calibrate (void)
void cc1000_config (u_char count, short configuration[])
void cc1000_get_RF_power (u_char *rfp)
void cc1000_init (void)
int cc1000_is_sleeping (void)
void cc1000_on (void)
u_char cc1000_read (u_char addr)
void cc1000_rxmode (void)
void cc1000_set_channel (struct cc_channel *currChannel)
void cc1000_set_frequency (u_long newFreqHz)
void cc1000_set_RF_power (u_char rfp)
void cc1000_set_RSSI_output (u_char on)
void cc1000_sleep (void)
void cc1000_SPI_init (void)
void cc1000_txmode (void)
void cc1000_wakeup (void)
void cc1000_write (u_char addr, u_char data)
u_char delay_time (int u_sec)


Function Documentation

void cc1000_set_channel ( struct cc_channel currChannel  ) 

Set channel registers

Parameters:
channel obtained by cc1000_calc_channel
Postcondition:
cc1000 registers are set. mode is not set

void cc1000_set_RSSI_output ( u_char  on  ) 

Enable/Disable analog RSSI output

Parameters:
on Use 1 for on, 0 for off


Generated on Wed Apr 29 11:12:29 2009 for BTnut System Software by doxygen 1.5.1