source: PlatformSupport/CustomPeripherals/pcores/radio_controller_v1_30_a/src/radio_controller_basic.h

Last change on this file was 892, checked in by murphpo, 16 years ago

fixing bugs in updated radio controller

File size: 1.3 KB
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
27void WarpRadio_v1_Reset(unsigned int* baseaddress, unsigned int clkRatio);
28
29void WarpRadio_v1_TxEnable(unsigned int radios);
30
31void WarpRadio_v1_RxEnable(unsigned int radios);
32
33void WarpRadio_v1_TxRxDisable(unsigned int radios);
34
35int WarpRadio_v1_SetCenterFreq2GHz(char freqset, unsigned int radios);
36
37char WarpRadio_v1_DIPSW(unsigned int radio);
38
39int WarpRadio_v1_DACOffsetAdj(char chan, short value, unsigned int radios);
40
41
42#endif
Note: See TracBrowser for help on using the repository browser.