Example host software for the Maxim Integrated MAX5715 12-bit 4-channel voltage-output DAC. Hosted on the MAX32625MBED.

Dependencies:   MAX5715

Revision:
9:1d512984d625
Parent:
7:0367e520c682
Child:
11:2de0dbf6946a
--- a/main.cpp	Thu May 23 22:16:20 2019 +0000
+++ b/main.cpp	Mon Jun 10 17:23:23 2019 +0000
@@ -30,7 +30,6 @@
 // * ownership rights.
 // *******************************************************************************
 // */
-//---------- CODE GENERATOR: testMainCppCodeList
 // CODE GENERATOR: example code includes
 // example code includes
 #include "mbed.h"
@@ -92,14 +91,14 @@
 #endif
 
 // example code declare GPIO interface pins
-DigitalOut LDACb_pin(D9); // Digital Trigger Input to device
-DigitalOut CLRb_pin(D8); // Digital Trigger Input to device
-// AnalogOut REF_pin(Px_x_PortName_To_Be_Determined); // Reference Input to device
-// AnalogIn OUTA_pin(A0); // Analog Output from device
-// AnalogIn OUTB_pin(A1); // Analog Output from device
-// AnalogIn OUTC_pin(A2); // Analog Output from device
-// AnalogIn OUTD_pin(A3); // Analog Output from device
-// DigitalIn RDYb_pin(Px_x_PortName_To_Be_Determined); // Digital DaisyChain Output from device
+DigitalOut LDACb_pin(D9); // Digital Trigger Input to MAX5715 device
+DigitalOut CLRb_pin(D8); // Digital Trigger Input to MAX5715 device
+// AnalogOut REF_pin(Px_x_PortName_To_Be_Determined); // Reference Input to MAX5715 device
+// AnalogIn OUTA_pin(A0); // Analog Output from MAX5715 device
+// AnalogIn OUTB_pin(A1); // Analog Output from MAX5715 device
+// AnalogIn OUTC_pin(A2); // Analog Output from MAX5715 device
+// AnalogIn OUTD_pin(A3); // Analog Output from MAX5715 device
+// DigitalIn RDYb_pin(Px_x_PortName_To_Be_Determined); // Digital MAX5715 Output from MAX5715 device
 // example code declare device instance
 MAX5715 g_MAX5715_device(spi, spi_cs, LDACb_pin, CLRb_pin, MAX5715::MAX5715_IC);
 
@@ -157,4 +156,3 @@
         wait(3.0);
     }
 }
-//---------- CODE GENERATOR: end testMainCppCodeList