Maxim Integrated MAX5171 14-bit Force/Sense DAC

Dependents:   MAX5171BOB_Tester MAX5171BOB_14bit_Remote_Sense_SPI_DAC MAX5171BOB_Serial_Tester

Revision:
2:d1340b334b0d
Parent:
1:e73245718b2a
Child:
4:1984eef51fe3
--- a/MAX5171.h	Fri Jun 07 21:53:56 2019 +0000
+++ b/MAX5171.h	Mon Jun 17 05:30:16 2019 +0000
@@ -75,7 +75,7 @@
  *
  *
  *
- * //---------- CODE GENERATOR: testMainCppCodeList
+ * //---------- CODE GENERATOR: helloCppCodeList
  * @code
  * // CODE GENERATOR: example code includes
  * // example code includes
@@ -83,20 +83,6 @@
  * //#include "max32625.h"
  * #include "MAX5171.h"
  *
- * // optional: serial port
- * // note: some platforms such as Nucleo-F446RE do not support the USBSerial library.
- * // In those cases, remove the USBDevice lib from the project and rebuild.
- * #if defined(TARGET_MAX32625MBED)
- * #include "USBSerial.h"
- * USBSerial serial; // virtual serial port over USB (DEV connector)
- * #elif defined(TARGET_MAX32630MBED)
- * #include "USBSerial.h"
- * USBSerial serial; // virtual serial port over USB (DEV connector)
- * #else
- * //#include "USBSerial.h"
- * Serial serial(USBTX, USBRX); // tx, rx
- * #endif
- *
  * // example code board support
  * //MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
  * //DigitalOut rLED(LED1);
@@ -153,19 +139,6 @@
  * {
  *     while (1)
  *     {
- *         // example code: serial port banner message
- *     #if defined(TARGET_MAX32625MBED)
- *         serial.printf("MAX32625MBED ");
- *     #elif defined(TARGET_MAX32600MBED)
- *         serial.printf("MAX32600MBED ");
- *     #elif defined(TARGET_NUCLEO_F446RE)
- *         serial.printf("NUCLEO_F446RE ");
- *     #endif
- *         serial.printf("MAX5715BOB\r\n");
- *
- *         //MAX5171 dac(spi, spi_cs, MAX5171::MAX5171_IC);
- *         //dac.Init();
- *
  *         // CODE GENERATOR: example code: member function Init
  *         g_MAX5171_device.Init();
  *
@@ -192,10 +165,9 @@
  *     }
  * }
  * @endcode
- * //---------- CODE GENERATOR: end testMainCppCodeList
+ * //---------- CODE GENERATOR: end helloCppCodeList
  */
-class MAX5171
-{
+class MAX5171 {
 public:
 // CODE GENERATOR: TypedefEnum EnumItem declarations
 // CODE GENERATOR: TypedefEnum MAX5171_CMD_enum_t
@@ -222,7 +194,8 @@
      * @brief IC's supported with this driver
      * @details MAX5171
      */
-    typedef enum {
+    typedef enum
+    {
         MAX5171_IC = 0,
         //MAX5171_IC = 1
     } MAX5171_ic_t;