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_adv.h |
---|
8 | * \brief Header file for advanced functions of the radio controller. |
---|
9 | * |
---|
10 | * @version 1.09 |
---|
11 | * @author Siddharth Gupta |
---|
12 | * |
---|
13 | * This file contains controls the advanced functionality of the radio boards, such as |
---|
14 | * DAC phase offsets, and all the various shutdown and standby states. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef RADIO_CONTROLLER_ADV_H |
---|
18 | #define RADIO_CONTROLLER_ADV_H |
---|
19 | |
---|
20 | /***************************** Include Files *******************************/ |
---|
21 | |
---|
22 | #include "radio_prototypes.h" |
---|
23 | |
---|
24 | /****************************** Functions **********************************/ |
---|
25 | |
---|
26 | void WarpRadio_v1_SHDNEnable(unsigned int radios); |
---|
27 | |
---|
28 | void WarpRadio_v1_SHDNDisable(unsigned int radios); |
---|
29 | |
---|
30 | void WarpRadio_v1_SHDNSoftControlEnable(unsigned int radios); |
---|
31 | |
---|
32 | void WarpRadio_v1_SHDNSoftControlDisable(unsigned int radios); |
---|
33 | |
---|
34 | void WarpRadio_v1_RxEnSoftControlEnable(unsigned int radios); |
---|
35 | |
---|
36 | void WarpRadio_v1_RxEnSoftControlDisable(unsigned int radios); |
---|
37 | |
---|
38 | void WarpRadio_v1_TxEnSoftControlEnable(unsigned int radios); |
---|
39 | |
---|
40 | void WarpRadio_v1_TxEnSoftControlDisable(unsigned int radios); |
---|
41 | |
---|
42 | void WarpRadio_v1_RxHpSoftControlEnable(unsigned int radios); |
---|
43 | |
---|
44 | void WarpRadio_v1_RxHpSoftControlDisable(unsigned int radios); |
---|
45 | |
---|
46 | void WarpRadio_v1_RxHpEnable(unsigned int radios); |
---|
47 | |
---|
48 | void WarpRadio_v1_RxHpDisable(unsigned int radios); |
---|
49 | |
---|
50 | char WarpRadio_v1_RssiHighBandwidth(char mode, unsigned int radios); |
---|
51 | |
---|
52 | // Returns the temp of the 'radio' specified. |
---|
53 | //char WarpRadio_v1_RSSITemp(unsigned char radio); |
---|
54 | |
---|
55 | int WarpRadio_v1_DACSleep(char mode, unsigned int radios); |
---|
56 | |
---|
57 | int WarpRadio_v1_DACFineGainAdj(char chan, unsigned char value, unsigned int radios); |
---|
58 | |
---|
59 | int WarpRadio_v1_DACCoarseGainAdj(char chan, unsigned char value, unsigned int radios); |
---|
60 | |
---|
61 | void WarpRadio_v1_ADCPdwn(char chan, unsigned char value, unsigned int radios); |
---|
62 | |
---|
63 | #endif |
---|