Changes between Version 22 and Version 23 of warpdac_ad9775.c
- Timestamp:
- Jan 25, 2006, 6:55:34 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
warpdac_ad9775.c
v22 v23 20 20 21 21 '''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L120 void WarpDac_InitializeDAC(unsigned int* baseaddr, unsigned char dacs)]''' 22 [[BR]]This function must be called at the beginning of the program. Initializes the DACs specified in ''dacs'' 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.22 [[BR]]This function must be called at the beginning of the program. Initializes the DACs specified in ''dacs'', 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. 23 23 24 24 '''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L144 void WarpDac_Reset(unsigned int* baseaddr, unsigned char dacs)]''' 25 [[BR]]Resets the DAC registers to their default values. 25 [[BR]]Resets the DAC registers to their default values. Calls WarpDac_InitializeDAC, so there is no need to repeat it in the code. ''dacs'' is the 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. 26 26 27 27 '''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L158 int WarpDac_Sleep(unsigned int* baseaddr, char mode, unsigned char dacs)]'''