root/PlatformSupport/CustomPeripherals/drivers/radio_controller_v1_09_a/src/radio_controller_ext.h

Revision 706, 2.4 kB (checked in by sgupta, 11 months ago)

docs

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_ext.h
8 * \brief Header file for extended functionality of the radio boards, over the basic controller.
9 *
10 * @version 1.09
11 * @author Siddharth Gupta
12 *
13 * Drivers for more complex functions of the radio boards. This includes finer control of receive
14 * and transmit gains, both in hardware and software, transmit state machine and control
15 * of filter parameters.
16 */
17
18#ifndef RADIO_CONTROLLER_EXT_H
19#define RADIO_CONTROLLER_EXT_H
20
21/***************************** Include Files *******************************/
22
23#include "radio_prototypes.h"
24
25/****************************** Functions **********************************/
26
27void WarpRadio_v1_24AmpEnable(unsigned int radios);
28
29void WarpRadio_v1_24AmpDisable(unsigned int radios);
30
31// Select a configuration for the Antennas and Transmit and Receive paths.
32// Applies to 'radios' specified.
33//              mode = 1:       Antenna 1 for TX and RX
34//              mode = 2:       Antenna 2 for TX and RX
35//              mode = 3:       Antenna 1 for TX and Antenna 2 for RX
36//              mode = 4:       Antenna 1 for RX and Antenna 2 for TX
37//char WarpRadio_v1_AntennaConfig(char mode, unsigned int radios);
38
39char WarpRadio_v1_LockDetect(unsigned int radios);
40
41char WarpRadio_v1_SoftwareTxGainControl(short mode, unsigned int radios);
42
43void WarpRadio_v1_BaseBandTxGain(char value, unsigned int radios);
44
45void WarpRadio_v1_TxVGAGainControl(char value, unsigned int radios);
46
47char WarpRadio_v1_SoftwareRxGainControl(short mode, unsigned int radios);
48
49void WarpRadio_v1_RxLNAGainControl(char value, unsigned int radios);
50
51void WarpRadio_v1_RxVGAGainControl(char value, unsigned int radios);
52
53void WarpRadio_v1_SetTxTiming(unsigned int radios, unsigned char dly_TxEn, unsigned char dly_TxStart, unsigned char dly_GainRampEn, unsigned char dly_PowerAmpEn);
54
55void WarpRadio_v1_SetTxGainTiming(unsigned int radios, unsigned char TxGainTarget, unsigned char TxGainStep, unsigned char TxGainTimeStep);
56
57void WarpRadio_v1_TxLpfCornFreqCoarseAdj(char value, unsigned int radios);
58
59void WarpRadio_v1_RxLpfCornFreqCoarseAdj(char value, unsigned int radios);
60
61char WarpRadio_v1_RxLpfCornFreqFineAdj(char value, unsigned int radios);
62
63void WarpRadio_v1_RxHighPassCornerFreq(char value, unsigned int radios);
64
65unsigned int WarpRadio_v1_RSSIData(unsigned int radios);
66
67#endif
Note: See TracBrowser for help on using the browser.