| 1 | = Radio Board Control Library = |
| 2 | The latest version of our C code for controlling the WARP radio board is available from the [source:"/PlatformSupport/WARP_Libraries/@latest" repository]. The documentation for the library is included below. |
| 3 | |
| 4 | == [source:/PlatformSupport/WARP_Libraries/warpradio_max2829.c warpradio_max2829.c] == |
| 5 | This file provides functions for controlling the WARP radio board's ADC and RF transceiver chips. |
| 6 | |
| 7 | ''[source:"/PlatformSupport/WARP_Libraries/warpradio_max2829.c@latest#L134" void WARPRadio_InitializeSPI(unsigned int* baseaddr)]'' |
| 8 | [[BR]]Initializes the SPI controller. This function must be called before any radio setup functions can be used. ''baseaddr'' is the base address of the SPI controller on the SPI bus. |
| 9 | |
| 10 | |
| 11 | |
| 12 | ''[source:"/PlatformSupport/WARP_Libraries/warpradio_max2829.c@latest#L144" void WarpRadio_InitializeRadio(unsigned int* baseaddr, unsigned int* radbaseaddr, unsigned char radios)]'' |