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

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

updated radio controller 1.20 for better compatibility with faster PLB46

File size: 2.0 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_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
26void WarpRadio_v1_SHDNEnable(unsigned int radios);
27
28void WarpRadio_v1_SHDNDisable(unsigned int radios);
29
30void WarpRadio_v1_SHDNSoftControlEnable(unsigned int radios);
31
32void WarpRadio_v1_SHDNSoftControlDisable(unsigned int radios);
33
34void WarpRadio_v1_RxEnSoftControlEnable(unsigned int radios);
35
36void WarpRadio_v1_RxEnSoftControlDisable(unsigned int radios);
37
38void WarpRadio_v1_TxEnSoftControlEnable(unsigned int radios);
39
40void WarpRadio_v1_TxEnSoftControlDisable(unsigned int radios);
41
42void WarpRadio_v1_RxHpSoftControlEnable(unsigned int radios);
43
44void WarpRadio_v1_RxHpSoftControlDisable(unsigned int radios);
45
46void WarpRadio_v1_RxHpEnable(unsigned int radios);
47
48void WarpRadio_v1_RxHpDisable(unsigned int radios);
49
50char 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
55int WarpRadio_v1_DACSleep(char mode, unsigned int radios);
56
57int WarpRadio_v1_DACFineGainAdj(char chan, unsigned char value, unsigned int radios);
58
59int WarpRadio_v1_DACCoarseGainAdj(char chan, unsigned char value, unsigned int radios);
60
61void WarpRadio_v1_ADCPdwn(char chan, unsigned char value, unsigned int radios);
62
63#endif
Note: See TracBrowser for help on using the repository browser.