Changes between Version 24 and Version 25 of warpdac_ad9775.c


Ignore:
Timestamp:
Jan 26, 2006, 2:16:08 PM (18 years ago)
Author:
andreat
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • warpdac_ad9775.c

    v24 v25  
    1111== Functions ==
    1212
    13 For all functions the input variable ''baseaddr'' is the base address of the SPI Core.
     13For all functions the input variable ''baseaddr'' is the base address of the SPI Core and ''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.
    1414
    1515'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L94 void transmitdac(unsigned int* baseaddr, int val)]'''
     
    2020
    2121'''[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 to make necessary changes in some of the registers.  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 to make necessary changes in some of the registers.  Initializes the DACs specified in ''dacs''.
    2323
    2424'''[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.  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.
     25[[BR]]Resets the DAC registers to their default values.  Calls WarpDac_InitializeDAC, so there is no need to repeat it in the code. 
    2626
    2727'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L158 int WarpDac_Sleep(unsigned int* baseaddr, char mode, unsigned char dacs)]'''
     28[[BR]]
    2829
    2930'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L206 int WarpDac_FineGainAdj(unsigned int* baseaddr, char chan, unsigned char value, unsigned char dacs)]'''
     31[[BR]]
    3032
    3133'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L256 int WarpDac_CoarseGainAdj(unsigned int* baseaddr, char chan, unsigned char value, unsigned char dacs)]'''
     34[[BR]]
    3235
    3336'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L306 int WarpDac_OffsetAdj(unsigned int* baseaddr, char chan, short value, unsigned char dacs)]'''
    34 
     37[[BR]]