Library for MCP4822 SPI 12-bit DAC, both outputs supported, nLDAC connected to GND.

Dependents:   MCP4822_2aLerche

Revision:
2:eb2c8b6c0b42
Parent:
0:014a10a4fed1
Child:
3:3d1178177669
--- a/MCP4822.h	Fri Jan 21 11:07:34 2011 +0000
+++ b/MCP4822.h	Fri Jan 21 16:13:03 2011 +0000
@@ -37,23 +37,23 @@
       *  Create an instance of the MCP4822 connected to specfied SPI pins.
       * 
       * Variables: 
-      *  SCK - The SPI clock pin 
-      *  SDO - The SPI Data out pin 
-      *  /CS - The ChipSelect pin 
+      *  @param SCK - The SPI clock pin 
+      *  @param SDO - The SPI Data out pin 
+      *  @param /CS - The ChipSelect pin 
       */ 
     MCP4822 (PinName mosi, PinName sclk, PinName ncs);
      /* Function: write to A-output 
       *  Write to the A-output, max 4095 (0xFFF) with 1 mV steps
       * 
       * Variables: 
-      *  ValueA
+      *  @param ValueA The value to be written
       */ 
     void writeA (int ValueA);
      /* Function: write to B-output 
       *  Write to the B-output, max 4095 (0xFFF) with 1 mV steps
       * 
       * Variables: 
-      *  ValueB
+      *  @param ValueB The valkue to be written
       */ 
     void writeB (int ValueB);