Changes between Version 33 and Version 34 of warpdac_ad9775.c


Ignore:
Timestamp:
Jan 26, 2006, 3:09:11 PM (18 years ago)
Author:
andreat
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • warpdac_ad9775.c

    v33 v34  
    3131[[BR]]Adjusts the coarse gain of either the I (''chan=ICHAN'') or the Q (''chan=QCHAN'') channel.  The variable ''value'' is sent to the registers as specified by the channel setting.  ''dacs'' is an 8 bit value where the 4 least significant bits choose the DAC to alter.  Returns -1 if the mode is incorrect. Returns 0 if change is successful. 
    3232
    33 maximum of 1023 and minimum of -1024
    3433'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L306 int WarpDac_OffsetAdj(unsigned int* baseaddr, char chan, short value, unsigned char dacs)]'''
    3534[[BR]]Adjusts the DC offset of either the I (''chan=ICHAN'') or the Q (''chan=QCHAN'') channel.  The variable ''value'' is sent to the registers as specified by the channel setting.  ''value'' has a range from -1024 to 1024.  ''dacs'' is an 8 bit value where the 4 least significant bits choose the DAC to alter.  Returns -1 if the mode is incorrect. Returns 0 if change is successful.