Maxim Integrated MAX11131 SPI 12-bit 16-channel ADC with SampleSet
Dependents: MAX11131BOB_Tester MAX11131BOB_12bit_16ch_SampleSet_SPI_ADC MAX11131BOB_Serial_Tester
Diff: MAX11131.h
- Revision:
- 1:77f1ee332e4a
- Parent:
- 0:f7d706d2904d
- Child:
- 4:8a0ae95546fa
--- a/MAX11131.h Wed Jun 05 02:16:46 2019 +0000 +++ b/MAX11131.h Mon Jun 17 05:37:06 2019 +0000 @@ -1,4 +1,4 @@ -// /******************************************************************************* +// /******************************************************************************* // * Copyright (C) 2019 Maxim Integrated Products, Inc., All Rights Reserved. // * // * Permission is hereby granted, free of charge, to any person obtaining a @@ -1008,7 +1008,7 @@ * * * - * //---------- CODE GENERATOR: testMainCppCodeList + * //---------- CODE GENERATOR: helloCppCodeList * @code * // CODE GENERATOR: example code includes * // example code includes @@ -1016,20 +1016,6 @@ * //#include "max32625.h" * #include "MAX11131.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); @@ -1083,19 +1069,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"); - * - * //MAX11131 dac(spi, spi_cs, MAX11131::MAX11131_IC); - * //dac.Init(); - * * // CODE GENERATOR: example code: member function Init * g_MAX11131_device.Init(); * @@ -1125,7 +1098,7 @@ * } * } * @endcode - * //---------- CODE GENERATOR: end testMainCppCodeList + * //---------- CODE GENERATOR: end helloCppCodeList */ class MAX11131 { public: @@ -1718,4 +1691,3 @@ #endif // __MAX11131_H__ // End of file -