Changes between Version 8 and Version 9 of HardwareUsersGuides/RadioBoard_v1.4/RadioController


Ignore:
Timestamp:
Jul 17, 2006, 4:37:11 PM (18 years ago)
Author:
sgupta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareUsersGuides/RadioBoard_v1.4/RadioController

    v8 v9  
    2222All the functions provided with the radio controller can be accessed through radio_controller.h. Include this file in your C program by inserting the following line at the top:
    2323{{{
    24 #include "radio_controller.h"
     24 #include "radio_controller.h"
    2525}}}
    2626
    27 All the radio controller functions are divided into two sets. The first controls the Maxim Radio on the board and begin with `WarpRadio_` while the second set controls the Digitial-to-Analog Converter for the data and these begin with `WarpDac_`.
     27All the radio controller functions are divided into two sets. The first set control the Maxim Radio on the board and begin with {{{WarpRadio_}}} while the second set controls the Digitial-to-Analog Converter (DAC) for the data and these begin with {{{WarpDac_}}}.
     28
     29=== Inputs to Functions ===
     30
     31The following two inputs are common to all functions in the library
     32
     33 1. {{{baseaddr}}}: This is the base address of the radio controller peripheral. The base address information of all the peripherals is located in the {{{xparameters.h}}} file. This file appears only after the hardware has been generated the first time. To access the file open the Software Application Project and expand the {{{Processor: ppc405_0}}} list. Be sure to include this file at the top of your C program as well by using the following line:
     34{{{
     35 #include "xparameters.h"
     36}}}
     37    If the project has been created with the Base System Builder, generally the base address of the radio controller is XPAR_RADIO_CONTROLLER_0_BASEADDR. Be sure to check this to be certain.
     38 1. {{{radios}}}/{{{dacs}}}: This refers to the Radios or the DACs that are to be affected by the function call. Each radio and DAC on the Radio Board can be selected by {{{RADIO1}}} or {{{DAC1}}} if the Radio Board is in slot 1, {{{RADIO2}}} or {{{DAC2}}} if in slot 2, etc. To call the function on multiple boards at the same time, OR (|) the values with each other. For example, {{{RADIO1|RADIO2}}} would affect both the radios in slot 1 and 2.