Changes between Version 18 and Version 19 of warpdac_ad9775.c


Ignore:
Timestamp:
Jan 25, 2006, 6:13:16 PM (18 years ago)
Author:
andreat
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • warpdac_ad9775.c

    v18 v19  
    1111== Functions ==
    1212
     13For all functions the input variable ''baseaddr'' is the base address of the SPI Core.
     14
    1315'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L94 void transmitdac(unsigned int* baseaddr, int val)]'''
    14 [[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.
     16[[BR]]Transmits a value to a register.  ''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.
    1517
    1618'''[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L110 void WarpDac_InitializeSPI(unsigned int* baseaddr)]'''
    17 [[BR]]Initializes the SPI controller for DAC functions.  This function must be called before calling any other DAC functions.  ''baseaddr'' is the base address of the SPI Core.
     19[[BR]]Initializes the SPI controller for DAC functions.  This function must be called before calling any other DAC functions.
    1820
    1921[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.  ''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.
    2023
    2124[source:/PlatformSupport/WARP_Libraries/warpdac_ad9775.c@latest#L144 void WarpDac_Reset(unsigned int* baseaddr, unsigned char dacs)]