root/PlatformSupport/CustomPeripherals/drivers/radio_controller_v1_09_a/src/radio_controller_basic.h
| Revision 681, 1.3 kB (checked in by sgupta, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | // Copyright (c) 2006 Rice University |
| 2 | // All Rights Reserved |
| 3 | // This code is covered by the Rice-WARP license |
| 4 | // See http://warp.rice.edu/license/ for details |
| 5 | |
| 6 | /** |
| 7 | * \file radio_controller_basic.h |
| 8 | * \brief Header file for the most basic functions that are needed for communication with the radio boards. |
| 9 | * |
| 10 | * @version 1.09 |
| 11 | * @author Siddharth Gupta |
| 12 | * |
| 13 | * Basic drivers for radio controller. Has all the basic functions related to sending |
| 14 | * and receiving bits over the air and changing the center frequency of transmission. |
| 15 | */ |
| 16 | |
| 17 | #ifndef RADIO_CONTROLLER_BASIC_H |
| 18 | #define RADIO_CONTROLLER_BASIC_H |
| 19 | |
| 20 | /***************************** Include Files *******************************/ |
| 21 | |
| 22 | // H file that contains prototypes for all the defines and local copies of radio registers. |
| 23 | #include "radio_prototypes.h" |
| 24 | |
| 25 | /****************************** Functions **********************************/ |
| 26 | |
| 27 | void WarpRadio_v1_Reset(unsigned int* baseaddress); |
| 28 | |
| 29 | void WarpRadio_v1_TxEnable(unsigned int radios); |
| 30 | |
| 31 | void WarpRadio_v1_RxEnable(unsigned int radios); |
| 32 | |
| 33 | void WarpRadio_v1_TxRxDisable(unsigned int radios); |
| 34 | |
| 35 | int WarpRadio_v1_SetCenterFreq2GHz(char freqset, unsigned int radios); |
| 36 | |
| 37 | char WarpRadio_v1_DIPSW(unsigned int radio); |
| 38 | |
| 39 | int WarpRadio_v1_DACOffsetAdj(char chan, short value, unsigned int radios); |
| 40 | |
| 41 | |
| 42 | #endif |
Note: See TracBrowser
for help on using the browser.