= '''Analog Devices AD9775 Control Library''' = [[BR]] = Full Code = [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c warpdac_ad9775.c] This file provides functions for controlling the WARP radio board's DAC chip. = Documentation = == Functions == [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L94 void transmitdac(unsigned int* baseaddr, int val)] [[BR]]Transmits a value to a register. ''baseaddr'' is the base address of the SPI Core, ''val'' a 16 bit hex value where the 8 least significant bits are the value to be stored and the 8 most significant bits choose the register in which to store the value. [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L110 void WarpDac_InitializeSPI(unsigned int* baseaddr)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L120 void WarpDac_InitializeDAC(unsigned int* baseaddr, unsigned char dacs)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L144 void WarpDac_Reset(unsigned int* baseaddr, unsigned char dacs)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L158 int WarpDac_Sleep(unsigned int* baseaddr, char mode, unsigned char dacs)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L206 int WarpDac_FineGainAdj(unsigned int* baseaddr, char chan, unsigned char value, unsigned char dacs)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L256 int WarpDac_CoarseGainAdj(unsigned int* baseaddr, char chan, unsigned char value, unsigned char dacs)] [source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L306 int WarpDac_OffsetAdj(unsigned int* baseaddr, char chan, short value, unsigned char dacs)]