Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MaximTinyTester CmdLine MAX5719 USBDevice
Diff: Test_Main_MAX5719.cpp
- Revision:
- 33:2c675744a01b
- Parent:
- 32:016a142143a5
- Child:
- 34:f9ed6213f781
--- a/Test_Main_MAX5719.cpp Fri Jun 11 16:47:20 2021 -0700
+++ b/Test_Main_MAX5719.cpp Sat Jun 12 01:35:36 2021 -0700
@@ -1892,7 +1892,10 @@
// | 0x0001 // -- halt-on-first-failure configuration flag
// | 0x0002 // -- repeat-until-failure configuration flag
| 0x0004 // CODE_LOAD -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default)
- | 0x0008 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
+ | 0x0008 // CODE_LOAD_2V5 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ | 0x0010 // CODE_LOAD_3V0 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ | 0x0020 // CODE_LOAD_4V1 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ | 0x0040 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
;
//--------------------------------------------------
@@ -1908,11 +1911,38 @@
#define MAX5719_SELFTEST_CODE_LOAD 1
#endif
-// SelfTest group DACCodeOfVoltage description:
-// Verify function DACCodeOfVoltage (enabled by default) (no run on button)
+// SelfTest group CODE_LOAD_2V5 description:
+// Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
// SelfTestGroupEnable bitmask 0x0008
// self test command:
// . run=0x0008
+#ifndef MAX5719_SELFTEST_CODE_LOAD_2V5
+#define MAX5719_SELFTEST_CODE_LOAD_2V5 1
+#endif
+
+// SelfTest group CODE_LOAD_3V0 description:
+// Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// SelfTestGroupEnable bitmask 0x0010
+// self test command:
+// . run=0x0010
+#ifndef MAX5719_SELFTEST_CODE_LOAD_3V0
+#define MAX5719_SELFTEST_CODE_LOAD_3V0 1
+#endif
+
+// SelfTest group CODE_LOAD_4V1 description:
+// Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// SelfTestGroupEnable bitmask 0x0020
+// self test command:
+// . run=0x0020
+#ifndef MAX5719_SELFTEST_CODE_LOAD_4V1
+#define MAX5719_SELFTEST_CODE_LOAD_4V1 1
+#endif
+
+// SelfTest group DACCodeOfVoltage description:
+// Verify function DACCodeOfVoltage (enabled by default) (no run on button)
+// SelfTestGroupEnable bitmask 0x0040
+// self test command:
+// . run=0x0040
#ifndef MAX5719_SELFTEST_DACCodeOfVoltage
#define MAX5719_SELFTEST_DACCodeOfVoltage 1
#endif
@@ -1928,7 +1958,10 @@
// | 0x0001 // -- halt-on-first-failure configuration flag
// | 0x0002 // -- repeat-until-failure configuration flag
| 0x0004 // CODE_LOAD -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default)
-// | 0x0008 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
+// | 0x0008 // CODE_LOAD_2V5 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0010 // CODE_LOAD_3V0 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0020 // CODE_LOAD_4V1 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0040 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
;
SelfTest(cmdLine_serial);
}
@@ -1947,7 +1980,10 @@
| 0x0001 // -- halt-on-first-failure configuration flag
| 0x0002 // -- repeat-until-failure configuration flag
| 0x0004 // CODE_LOAD -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default)
-// | 0x0008 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
+// | 0x0008 // CODE_LOAD_2V5 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0010 // CODE_LOAD_3V0 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0020 // CODE_LOAD_4V1 -- Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// | 0x0040 // DACCodeOfVoltage -- Verify function DACCodeOfVoltage (enabled by default) (no run on button)
;
SelfTest(cmdLine_serial);
}
@@ -1984,6 +2020,7 @@
cmdLine.serial().printf("\r\n. run=0x%4.4x", SelfTestGroupEnable);
if ((SelfTestGroupEnable & 0x0003) == 0x0000) { cmdLine.serial().printf("\r\n. runall=0x%4.4x", SelfTestGroupEnable &~ 0x0003); }
if ((SelfTestGroupEnable & 0x0003) == 0x0001) { cmdLine.serial().printf("\r\n. runfail=0x%4.4x", SelfTestGroupEnable &~ 0x0003); }
+ if ((SelfTestGroupEnable & 0x0003) == 0x0002) { cmdLine.serial().printf("\r\n. loopall=0x%4.4x", SelfTestGroupEnable &~ 0x0003); }
if ((SelfTestGroupEnable & 0x0003) == 0x0003) { cmdLine.serial().printf("\r\n. loopfail=0x%4.4x", SelfTestGroupEnable &~ 0x0003); }
// Report number of pass and number of fail test results
tinyTester.Report_Summary();
@@ -3154,6 +3191,312 @@
} // if (SelfTestGroupEnable & 0x0004)
#endif // MAX5719_SELFTEST_CODE_LOAD // group CODE_LOAD
+ // @test group CODE_LOAD_2V5 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ // @test group CODE_LOAD_2V5 tinyTester.err_threshold = 0.150
+ // docTest_item['actionType'] = 'assign-propname-value'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'tinyTester.err_threshold = 0.150'
+ // docTest_item['propName'] = 'tinyTester.err_threshold'
+ // docTest_item['propValue'] = '0.150'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 None
+ if (SelfTestGroupEnable & 0x0008) {
+ // assign-propname-value
+ // tinyTesterPropName = "tinyTester.err_threshold"
+ // tinyTesterPropValue = "0.150"
+ tinyTester.err_threshold = 0.150;
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_2V5 tinyTester.print("0x09c400 = 2.500V")
+ // docTest_item['actionType'] = 'print-string'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'tinyTester.print("0x09c400 = 2.500V")'
+ // docTest_item['arglist'] = '0x09c400 = 2.500V'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 None
+ if (SelfTestGroupEnable & 0x0008) {
+ // print-string
+ // tinyTesterFuncName = "tinyTester.print"
+ // tinyTesterPrintStringLiteral = "0x09c400 = 2.500V"
+ tinyTester.print("0x09c400 = 2.500V");
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_2V5 CODE_LOAD(0x09c400) // 2.500V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'CODE_LOAD(0x09c400)'
+ // docTest_item['remarks'] = '2.500V'
+ // docTest_item['funcName'] = 'CODE_LOAD'
+ // docTest_item['arglist'] = '0x09c400'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 CODE_LOAD 2.500V
+ if (SelfTestGroupEnable & 0x0008) {
+ // call-function
+ // selfTestFunctionClosures['CODE_LOAD']['returnType'] = 'uint8_t'
+ // ASSERT_EQ(g_MAX5719_device.CODE_LOAD((uint32_t)0x09c400), (uint8_t)None); // 2.500V
+ // tinyTester.FunctionCall_Expect("MAX5719.CODE_LOAD", fn_MAX5719_CODE_LOAD, (uint32_t)0x09c400, /* empty expect: */ (uint8_t)None); // 2.500V
+ g_MAX5719_device.CODE_LOAD((uint32_t)0x09c400); // 2.500V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_2V5 tinyTester.Wait_Output_Settling()
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'tinyTester.Wait_Output_Settling()'
+ // docTest_item['propName'] = 'Wait_Output_Settling'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 None
+ if (SelfTestGroupEnable & 0x0008) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.Wait_Output_Settling"
+ // docTest_argList = ""
+ tinyTester.Wait_Output_Settling(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_2V5 tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000)
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000)'
+ // docTest_item['arglist'] = '2.500000'
+ // docTest_item['propName'] = 'AnalogIn0_Read_Expect_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 None
+ if (SelfTestGroupEnable & 0x0008) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn0_Read_Expect_voltageV"
+ // docTest_argList = "2.500000"
+ tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_2V5 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_2V5'
+ // docTest_item['action'] = 'tinyTester.AnalogIn1_Read_Report_voltageV()'
+ // docTest_item['propName'] = 'AnalogIn1_Read_Report_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5 None
+ if (SelfTestGroupEnable & 0x0008) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn1_Read_Report_voltageV"
+ // docTest_argList = ""
+ tinyTester.AnalogIn1_Read_Report_voltageV(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0008)
+#endif // MAX5719_SELFTEST_CODE_LOAD_2V5 // group CODE_LOAD_2V5
+
+ // @test group CODE_LOAD_3V0 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ // @test group CODE_LOAD_3V0 tinyTester.err_threshold = 0.200
+ // docTest_item['actionType'] = 'assign-propname-value'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'tinyTester.err_threshold = 0.200'
+ // docTest_item['propName'] = 'tinyTester.err_threshold'
+ // docTest_item['propValue'] = '0.200'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 None
+ if (SelfTestGroupEnable & 0x0010) {
+ // assign-propname-value
+ // tinyTesterPropName = "tinyTester.err_threshold"
+ // tinyTesterPropValue = "0.200"
+ tinyTester.err_threshold = 0.200;
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_3V0 tinyTester.print("0x0bb800 = 3.000V")
+ // docTest_item['actionType'] = 'print-string'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'tinyTester.print("0x0bb800 = 3.000V")'
+ // docTest_item['arglist'] = '0x0bb800 = 3.000V'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 None
+ if (SelfTestGroupEnable & 0x0010) {
+ // print-string
+ // tinyTesterFuncName = "tinyTester.print"
+ // tinyTesterPrintStringLiteral = "0x0bb800 = 3.000V"
+ tinyTester.print("0x0bb800 = 3.000V");
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_3V0 CODE_LOAD(0x0bb800) // 3.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'CODE_LOAD(0x0bb800)'
+ // docTest_item['remarks'] = '3.000V'
+ // docTest_item['funcName'] = 'CODE_LOAD'
+ // docTest_item['arglist'] = '0x0bb800'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 CODE_LOAD 3.000V
+ if (SelfTestGroupEnable & 0x0010) {
+ // call-function
+ // selfTestFunctionClosures['CODE_LOAD']['returnType'] = 'uint8_t'
+ // ASSERT_EQ(g_MAX5719_device.CODE_LOAD((uint32_t)0x0bb800), (uint8_t)None); // 3.000V
+ // tinyTester.FunctionCall_Expect("MAX5719.CODE_LOAD", fn_MAX5719_CODE_LOAD, (uint32_t)0x0bb800, /* empty expect: */ (uint8_t)None); // 3.000V
+ g_MAX5719_device.CODE_LOAD((uint32_t)0x0bb800); // 3.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_3V0 tinyTester.Wait_Output_Settling()
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'tinyTester.Wait_Output_Settling()'
+ // docTest_item['propName'] = 'Wait_Output_Settling'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 None
+ if (SelfTestGroupEnable & 0x0010) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.Wait_Output_Settling"
+ // docTest_argList = ""
+ tinyTester.Wait_Output_Settling(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_3V0 tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000)
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000)'
+ // docTest_item['arglist'] = '3.000000'
+ // docTest_item['propName'] = 'AnalogIn0_Read_Expect_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 None
+ if (SelfTestGroupEnable & 0x0010) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn0_Read_Expect_voltageV"
+ // docTest_argList = "3.000000"
+ tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_3V0 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_3V0'
+ // docTest_item['action'] = 'tinyTester.AnalogIn1_Read_Report_voltageV()'
+ // docTest_item['propName'] = 'AnalogIn1_Read_Report_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0 None
+ if (SelfTestGroupEnable & 0x0010) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn1_Read_Report_voltageV"
+ // docTest_argList = ""
+ tinyTester.AnalogIn1_Read_Report_voltageV(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0010)
+#endif // MAX5719_SELFTEST_CODE_LOAD_3V0 // group CODE_LOAD_3V0
+
+ // @test group CODE_LOAD_4V1 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+ // @test group CODE_LOAD_4V1 tinyTester.err_threshold = 0.750
+ // docTest_item['actionType'] = 'assign-propname-value'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'tinyTester.err_threshold = 0.750'
+ // docTest_item['propName'] = 'tinyTester.err_threshold'
+ // docTest_item['propValue'] = '0.750'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 None
+ if (SelfTestGroupEnable & 0x0020) {
+ // assign-propname-value
+ // tinyTesterPropName = "tinyTester.err_threshold"
+ // tinyTesterPropValue = "0.750"
+ tinyTester.err_threshold = 0.750;
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
+ // @test group CODE_LOAD_4V1 tinyTester.print("0x0fffff = 4.095V")
+ // docTest_item['actionType'] = 'print-string'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'tinyTester.print("0x0fffff = 4.095V")'
+ // docTest_item['arglist'] = '0x0fffff = 4.095V'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 None
+ if (SelfTestGroupEnable & 0x0020) {
+ // print-string
+ // tinyTesterFuncName = "tinyTester.print"
+ // tinyTesterPrintStringLiteral = "0x0fffff = 4.095V"
+ tinyTester.print("0x0fffff = 4.095V");
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
+ // @test group CODE_LOAD_4V1 CODE_LOAD(0x0fffff) // 4.095V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'CODE_LOAD(0x0fffff)'
+ // docTest_item['remarks'] = '4.095V'
+ // docTest_item['funcName'] = 'CODE_LOAD'
+ // docTest_item['arglist'] = '0x0fffff'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 CODE_LOAD 4.095V
+ if (SelfTestGroupEnable & 0x0020) {
+ // call-function
+ // selfTestFunctionClosures['CODE_LOAD']['returnType'] = 'uint8_t'
+ // ASSERT_EQ(g_MAX5719_device.CODE_LOAD((uint32_t)0x0fffff), (uint8_t)None); // 4.095V
+ // tinyTester.FunctionCall_Expect("MAX5719.CODE_LOAD", fn_MAX5719_CODE_LOAD, (uint32_t)0x0fffff, /* empty expect: */ (uint8_t)None); // 4.095V
+ g_MAX5719_device.CODE_LOAD((uint32_t)0x0fffff); // 4.095V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
+ // @test group CODE_LOAD_4V1 tinyTester.Wait_Output_Settling()
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'tinyTester.Wait_Output_Settling()'
+ // docTest_item['propName'] = 'Wait_Output_Settling'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 None
+ if (SelfTestGroupEnable & 0x0020) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.Wait_Output_Settling"
+ // docTest_argList = ""
+ tinyTester.Wait_Output_Settling(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
+ // @test group CODE_LOAD_4V1 tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000)
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000)'
+ // docTest_item['arglist'] = '4.095000'
+ // docTest_item['propName'] = 'AnalogIn0_Read_Expect_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 None
+ if (SelfTestGroupEnable & 0x0020) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn0_Read_Expect_voltageV"
+ // docTest_argList = "4.095000"
+ tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
+ // @test group CODE_LOAD_4V1 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+ // docTest_item['actionType'] = 'call-tinytester-function'
+ // docTest_item['group-id-value'] = 'CODE_LOAD_4V1'
+ // docTest_item['action'] = 'tinyTester.AnalogIn1_Read_Report_voltageV()'
+ // docTest_item['propName'] = 'AnalogIn1_Read_Report_voltageV'
+#if MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1 None
+ if (SelfTestGroupEnable & 0x0020) {
+ // call-tinytester-function
+ // tinyTesterFuncName = "tinyTester.AnalogIn1_Read_Report_voltageV"
+ // docTest_argList = ""
+ tinyTester.AnalogIn1_Read_Report_voltageV(); //
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0020)
+#endif // MAX5719_SELFTEST_CODE_LOAD_4V1 // group CODE_LOAD_4V1
+
// @test group DACCodeOfVoltage // Verify function DACCodeOfVoltage (enabled by default) (no run on button)
// @test group DACCodeOfVoltage tinyTester.blink_time_msec = 20 // quickly speed through the software verification
// docTest_item['actionType'] = 'assign-propname-value'
@@ -3163,14 +3506,14 @@
// docTest_item['propName'] = 'tinyTester.blink_time_msec'
// docTest_item['propValue'] = '20'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None quickly speed through the software verification
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// assign-propname-value
// tinyTesterPropName = "tinyTester.blink_time_msec"
// tinyTesterPropValue = "20"
tinyTester.blink_time_msec = 20;
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("VRef = 4.096 MAX5719 20-bit LSB = 0.000004V = 3.90625uV")
@@ -3179,14 +3522,14 @@
// docTest_item['action'] = 'tinyTester.print("VRef = 4.096 MAX5719 20-bit LSB = 0.000004V = 3.90625uV")'
// docTest_item['arglist'] = 'VRef = 4.096 MAX5719 20-bit LSB = 0.000004V = 3.90625uV'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "VRef = 4.096 MAX5719 20-bit LSB = 0.000004V = 3.90625uV"
tinyTester.print("VRef = 4.096 MAX5719 20-bit LSB = 0.000004V = 3.90625uV");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage VRef = 4.096
@@ -3196,14 +3539,14 @@
// docTest_item['propName'] = 'VRef'
// docTest_item['propValue'] = '4.096'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// assign-propname-value
// tinyTesterPropName = "VRef"
// tinyTesterPropValue = "4.096"
g_MAX5719_device.VRef = 4.096;
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_voltage_sweep V = 0.000000V to 4.096000V precision 0.100000V step 0.500000V")
@@ -3212,220 +3555,14 @@
// docTest_item['action'] = 'tinyTester.print("test_voltage_sweep V = 0.000000V to 4.096000V precision 0.100000V step 0.500000V")'
// docTest_item['arglist'] = 'test_voltage_sweep V = 0.000000V to 4.096000V precision 0.100000V step 0.500000V'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_voltage_sweep V = 0.000000V to 4.096000V precision 0.100000V step 0.500000V"
tinyTester.print("test_voltage_sweep V = 0.000000V to 4.096000V precision 0.100000V step 0.500000V");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(0.000000) expect 0x000000 // 0.000V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(0.000000) expect 0x000000'
- // docTest_item['remarks'] = '0.000V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '0.000000'
- // docTest_item['expect-value'] = '0x000000'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000000), (uint32_t)0x000000); // 0.000V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000000, /* expect: */ (uint32_t)0x000000); // 0.000V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(0.500000) expect 0x01f400 // 0.500V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(0.500000) expect 0x01f400'
- // docTest_item['remarks'] = '0.500V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '0.500000'
- // docTest_item['expect-value'] = '0x01f400'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.500V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.500000), (uint32_t)0x01f400); // 0.500V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.500000, /* expect: */ (uint32_t)0x01f400); // 0.500V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(1.000000) expect 0x03e800 // 1.000V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(1.000000) expect 0x03e800'
- // docTest_item['remarks'] = '1.000V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '1.000000'
- // docTest_item['expect-value'] = '0x03e800'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.000V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.000000), (uint32_t)0x03e800); // 1.000V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.000000, /* expect: */ (uint32_t)0x03e800); // 1.000V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(1.500000) expect 0x05dc00 // 1.500V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(1.500000) expect 0x05dc00'
- // docTest_item['remarks'] = '1.500V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '1.500000'
- // docTest_item['expect-value'] = '0x05dc00'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.500V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.500000), (uint32_t)0x05dc00); // 1.500V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.500000, /* expect: */ (uint32_t)0x05dc00); // 1.500V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(2.000000) expect 0x07d000 // 2.000V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(2.000000) expect 0x07d000'
- // docTest_item['remarks'] = '2.000V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '2.000000'
- // docTest_item['expect-value'] = '0x07d000'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.000V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.000000), (uint32_t)0x07d000); // 2.000V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.000000, /* expect: */ (uint32_t)0x07d000); // 2.000V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(2.500000) expect 0x09c400 // 2.500V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(2.500000) expect 0x09c400'
- // docTest_item['remarks'] = '2.500V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '2.500000'
- // docTest_item['expect-value'] = '0x09c400'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.500V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.500000), (uint32_t)0x09c400); // 2.500V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.500000, /* expect: */ (uint32_t)0x09c400); // 2.500V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(3.000000) expect 0x0bb800 // 3.000V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(3.000000) expect 0x0bb800'
- // docTest_item['remarks'] = '3.000V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '3.000000'
- // docTest_item['expect-value'] = '0x0bb800'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.000V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.000000), (uint32_t)0x0bb800); // 3.000V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.000000, /* expect: */ (uint32_t)0x0bb800); // 3.000V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(3.500000) expect 0x0dac00 // 3.500V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(3.500000) expect 0x0dac00'
- // docTest_item['remarks'] = '3.500V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '3.500000'
- // docTest_item['expect-value'] = '0x0dac00'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.500V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.500000), (uint32_t)0x0dac00); // 3.500V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.500000, /* expect: */ (uint32_t)0x0dac00); // 3.500V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(4.000000) expect 0x0fa000 // 4.000V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(4.000000) expect 0x0fa000'
- // docTest_item['remarks'] = '4.000V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '4.000000'
- // docTest_item['expect-value'] = '0x0fa000'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.000V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.000000), (uint32_t)0x0fa000); // 4.000V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.000000, /* expect: */ (uint32_t)0x0fa000); // 4.000V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V")
- // docTest_item['actionType'] = 'print-string'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V")'
- // docTest_item['arglist'] = 'test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
- // print-string
- // tinyTesterFuncName = "tinyTester.print"
- // tinyTesterPrintStringLiteral = "test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V"
- tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V");
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
-#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
-
- // @test group DACCodeOfVoltage DACCodeOfVoltage(-0.010000) expect 0x000000 // -0.010V
- // docTest_item['actionType'] = 'call-function'
- // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
- // docTest_item['action'] = 'DACCodeOfVoltage(-0.010000) expect 0x000000'
- // docTest_item['remarks'] = '-0.010V'
- // docTest_item['funcName'] = 'DACCodeOfVoltage'
- // docTest_item['arglist'] = '-0.010000'
- // docTest_item['expect-value'] = '0x000000'
-#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage -0.010V
- if (SelfTestGroupEnable & 0x0008) {
- // call-function
- // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
- // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.010000), (uint32_t)0x000000); // -0.010V
- tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.010000, /* expect: */ (uint32_t)0x000000); // -0.010V
- // halt-on-first-failure logic
- if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000000) expect 0x000000 // 0.000V
@@ -3437,14 +3574,220 @@
// docTest_item['arglist'] = '0.000000'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000000), (uint32_t)0x000000); // 0.000V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000000, /* expect: */ (uint32_t)0x000000); // 0.000V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(0.500000) expect 0x01f400 // 0.500V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(0.500000) expect 0x01f400'
+ // docTest_item['remarks'] = '0.500V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '0.500000'
+ // docTest_item['expect-value'] = '0x01f400'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.500V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.500000), (uint32_t)0x01f400); // 0.500V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.500000, /* expect: */ (uint32_t)0x01f400); // 0.500V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(1.000000) expect 0x03e800 // 1.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(1.000000) expect 0x03e800'
+ // docTest_item['remarks'] = '1.000V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '1.000000'
+ // docTest_item['expect-value'] = '0x03e800'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.000V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.000000), (uint32_t)0x03e800); // 1.000V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.000000, /* expect: */ (uint32_t)0x03e800); // 1.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(1.500000) expect 0x05dc00 // 1.500V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(1.500000) expect 0x05dc00'
+ // docTest_item['remarks'] = '1.500V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '1.500000'
+ // docTest_item['expect-value'] = '0x05dc00'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.500V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.500000), (uint32_t)0x05dc00); // 1.500V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.500000, /* expect: */ (uint32_t)0x05dc00); // 1.500V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(2.000000) expect 0x07d000 // 2.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(2.000000) expect 0x07d000'
+ // docTest_item['remarks'] = '2.000V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '2.000000'
+ // docTest_item['expect-value'] = '0x07d000'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.000V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.000000), (uint32_t)0x07d000); // 2.000V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.000000, /* expect: */ (uint32_t)0x07d000); // 2.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(2.500000) expect 0x09c400 // 2.500V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(2.500000) expect 0x09c400'
+ // docTest_item['remarks'] = '2.500V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '2.500000'
+ // docTest_item['expect-value'] = '0x09c400'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.500V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.500000), (uint32_t)0x09c400); // 2.500V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.500000, /* expect: */ (uint32_t)0x09c400); // 2.500V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(3.000000) expect 0x0bb800 // 3.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(3.000000) expect 0x0bb800'
+ // docTest_item['remarks'] = '3.000V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '3.000000'
+ // docTest_item['expect-value'] = '0x0bb800'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.000V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.000000), (uint32_t)0x0bb800); // 3.000V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.000000, /* expect: */ (uint32_t)0x0bb800); // 3.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(3.500000) expect 0x0dac00 // 3.500V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(3.500000) expect 0x0dac00'
+ // docTest_item['remarks'] = '3.500V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '3.500000'
+ // docTest_item['expect-value'] = '0x0dac00'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.500V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.500000), (uint32_t)0x0dac00); // 3.500V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.500000, /* expect: */ (uint32_t)0x0dac00); // 3.500V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(4.000000) expect 0x0fa000 // 4.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(4.000000) expect 0x0fa000'
+ // docTest_item['remarks'] = '4.000V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '4.000000'
+ // docTest_item['expect-value'] = '0x0fa000'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.000V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.000000), (uint32_t)0x0fa000); // 4.000V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.000000, /* expect: */ (uint32_t)0x0fa000); // 4.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V")
+ // docTest_item['actionType'] = 'print-string'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V")'
+ // docTest_item['arglist'] = 'test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
+ if (SelfTestGroupEnable & 0x0040) {
+ // print-string
+ // tinyTesterFuncName = "tinyTester.print"
+ // tinyTesterPrintStringLiteral = "test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V"
+ tinyTester.print("test_voltage_sweep V = -0.010000V to 0.100000V precision 0.010000V step 0.010000V");
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(-0.010000) expect 0x000000 // -0.010V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(-0.010000) expect 0x000000'
+ // docTest_item['remarks'] = '-0.010V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '-0.010000'
+ // docTest_item['expect-value'] = '0x000000'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage -0.010V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.010000), (uint32_t)0x000000); // -0.010V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.010000, /* expect: */ (uint32_t)0x000000); // -0.010V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
+#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
+
+ // @test group DACCodeOfVoltage DACCodeOfVoltage(0.000000) expect 0x000000 // 0.000V
+ // docTest_item['actionType'] = 'call-function'
+ // docTest_item['group-id-value'] = 'DACCodeOfVoltage'
+ // docTest_item['action'] = 'DACCodeOfVoltage(0.000000) expect 0x000000'
+ // docTest_item['remarks'] = '0.000V'
+ // docTest_item['funcName'] = 'DACCodeOfVoltage'
+ // docTest_item['arglist'] = '0.000000'
+ // docTest_item['expect-value'] = '0x000000'
+#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V
+ if (SelfTestGroupEnable & 0x0040) {
+ // call-function
+ // selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
+ // ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000000), (uint32_t)0x000000); // 0.000V
+ tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000000, /* expect: */ (uint32_t)0x000000); // 0.000V
+ // halt-on-first-failure logic
+ if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.010000) expect 0x000a00 // 0.010V
@@ -3456,14 +3799,14 @@
// docTest_item['arglist'] = '0.010000'
// docTest_item['expect-value'] = '0x000a00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.010V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.010000), (uint32_t)0x000a00); // 0.010V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.010000, /* expect: */ (uint32_t)0x000a00); // 0.010V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.020000) expect 0x001400 // 0.020V
@@ -3475,14 +3818,14 @@
// docTest_item['arglist'] = '0.020000'
// docTest_item['expect-value'] = '0x001400'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.020V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.020000), (uint32_t)0x001400); // 0.020V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.020000, /* expect: */ (uint32_t)0x001400); // 0.020V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.030000) expect 0x001e00 // 0.030V
@@ -3494,14 +3837,14 @@
// docTest_item['arglist'] = '0.030000'
// docTest_item['expect-value'] = '0x001e00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.030V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.030000), (uint32_t)0x001e00); // 0.030V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.030000, /* expect: */ (uint32_t)0x001e00); // 0.030V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.040000) expect 0x002800 // 0.040V
@@ -3513,14 +3856,14 @@
// docTest_item['arglist'] = '0.040000'
// docTest_item['expect-value'] = '0x002800'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.040V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.040000), (uint32_t)0x002800); // 0.040V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.040000, /* expect: */ (uint32_t)0x002800); // 0.040V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.050000) expect 0x003200 // 0.050V
@@ -3532,14 +3875,14 @@
// docTest_item['arglist'] = '0.050000'
// docTest_item['expect-value'] = '0x003200'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.050V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.050000), (uint32_t)0x003200); // 0.050V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.050000, /* expect: */ (uint32_t)0x003200); // 0.050V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.060000) expect 0x003c00 // 0.060V
@@ -3551,14 +3894,14 @@
// docTest_item['arglist'] = '0.060000'
// docTest_item['expect-value'] = '0x003c00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.060V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.060000), (uint32_t)0x003c00); // 0.060V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.060000, /* expect: */ (uint32_t)0x003c00); // 0.060V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.070000) expect 0x004600 // 0.070V
@@ -3570,14 +3913,14 @@
// docTest_item['arglist'] = '0.070000'
// docTest_item['expect-value'] = '0x004600'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.070V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.070000), (uint32_t)0x004600); // 0.070V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.070000, /* expect: */ (uint32_t)0x004600); // 0.070V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.080000) expect 0x005000 // 0.080V
@@ -3589,14 +3932,14 @@
// docTest_item['arglist'] = '0.080000'
// docTest_item['expect-value'] = '0x005000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.080V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.080000), (uint32_t)0x005000); // 0.080V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.080000, /* expect: */ (uint32_t)0x005000); // 0.080V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.090000) expect 0x005a00 // 0.090V
@@ -3608,14 +3951,14 @@
// docTest_item['arglist'] = '0.090000'
// docTest_item['expect-value'] = '0x005a00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.090V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.090000), (uint32_t)0x005a00); // 0.090V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.090000, /* expect: */ (uint32_t)0x005a00); // 0.090V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.100000) expect 0x006400 // 0.100V
@@ -3627,14 +3970,14 @@
// docTest_item['arglist'] = '0.100000'
// docTest_item['expect-value'] = '0x006400'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.100V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.100000), (uint32_t)0x006400); // 0.100V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.100000, /* expect: */ (uint32_t)0x006400); // 0.100V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_voltage_sweep V = 2.047900V to 2.048100V precision 0.000010V step 0.000010V")
@@ -3643,14 +3986,14 @@
// docTest_item['action'] = 'tinyTester.print("test_voltage_sweep V = 2.047900V to 2.048100V precision 0.000010V step 0.000010V")'
// docTest_item['arglist'] = 'test_voltage_sweep V = 2.047900V to 2.048100V precision 0.000010V step 0.000010V'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_voltage_sweep V = 2.047900V to 2.048100V precision 0.000010V step 0.000010V"
tinyTester.print("test_voltage_sweep V = 2.047900V to 2.048100V precision 0.000010V step 0.000010V");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047890) expect 0x07ffe4 // 2.048V
@@ -3662,14 +4005,14 @@
// docTest_item['arglist'] = '2.047890'
// docTest_item['expect-value'] = '0x07ffe4'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047890), (uint32_t)0x07ffe4); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047890, /* expect: */ (uint32_t)0x07ffe4); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047900) expect 0x07ffe6 // 2.048V
@@ -3681,14 +4024,14 @@
// docTest_item['arglist'] = '2.047900'
// docTest_item['expect-value'] = '0x07ffe6'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047900), (uint32_t)0x07ffe6); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047900, /* expect: */ (uint32_t)0x07ffe6); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047910) expect 0x07ffe9 // 2.048V
@@ -3700,14 +4043,14 @@
// docTest_item['arglist'] = '2.047910'
// docTest_item['expect-value'] = '0x07ffe9'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047910), (uint32_t)0x07ffe9); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047910, /* expect: */ (uint32_t)0x07ffe9); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047920) expect 0x07ffec // 2.048V
@@ -3719,14 +4062,14 @@
// docTest_item['arglist'] = '2.047920'
// docTest_item['expect-value'] = '0x07ffec'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047920), (uint32_t)0x07ffec); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047920, /* expect: */ (uint32_t)0x07ffec); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047930) expect 0x07ffee // 2.048V
@@ -3738,14 +4081,14 @@
// docTest_item['arglist'] = '2.047930'
// docTest_item['expect-value'] = '0x07ffee'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047930), (uint32_t)0x07ffee); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047930, /* expect: */ (uint32_t)0x07ffee); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047940) expect 0x07fff1 // 2.048V
@@ -3757,14 +4100,14 @@
// docTest_item['arglist'] = '2.047940'
// docTest_item['expect-value'] = '0x07fff1'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047940), (uint32_t)0x07fff1); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047940, /* expect: */ (uint32_t)0x07fff1); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047950) expect 0x07fff3 // 2.048V
@@ -3776,14 +4119,14 @@
// docTest_item['arglist'] = '2.047950'
// docTest_item['expect-value'] = '0x07fff3'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047950), (uint32_t)0x07fff3); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047950, /* expect: */ (uint32_t)0x07fff3); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047960) expect 0x07fff6 // 2.048V
@@ -3795,14 +4138,14 @@
// docTest_item['arglist'] = '2.047960'
// docTest_item['expect-value'] = '0x07fff6'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047960), (uint32_t)0x07fff6); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047960, /* expect: */ (uint32_t)0x07fff6); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047970) expect 0x07fff8 // 2.048V
@@ -3814,14 +4157,14 @@
// docTest_item['arglist'] = '2.047970'
// docTest_item['expect-value'] = '0x07fff8'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047970), (uint32_t)0x07fff8); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047970, /* expect: */ (uint32_t)0x07fff8); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047980) expect 0x07fffb // 2.048V
@@ -3833,14 +4176,14 @@
// docTest_item['arglist'] = '2.047980'
// docTest_item['expect-value'] = '0x07fffb'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047980), (uint32_t)0x07fffb); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047980, /* expect: */ (uint32_t)0x07fffb); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047990) expect 0x07fffd // 2.048V
@@ -3852,14 +4195,14 @@
// docTest_item['arglist'] = '2.047990'
// docTest_item['expect-value'] = '0x07fffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047990), (uint32_t)0x07fffd); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047990, /* expect: */ (uint32_t)0x07fffd); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048000) expect 0x080000 // 2.048V
@@ -3871,14 +4214,14 @@
// docTest_item['arglist'] = '2.048000'
// docTest_item['expect-value'] = '0x080000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048000), (uint32_t)0x080000); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048000, /* expect: */ (uint32_t)0x080000); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048010) expect 0x080003 // 2.048V
@@ -3890,14 +4233,14 @@
// docTest_item['arglist'] = '2.048010'
// docTest_item['expect-value'] = '0x080003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048010), (uint32_t)0x080003); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048010, /* expect: */ (uint32_t)0x080003); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048020) expect 0x080005 // 2.048V
@@ -3909,14 +4252,14 @@
// docTest_item['arglist'] = '2.048020'
// docTest_item['expect-value'] = '0x080005'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048020), (uint32_t)0x080005); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048020, /* expect: */ (uint32_t)0x080005); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048030) expect 0x080008 // 2.048V
@@ -3928,14 +4271,14 @@
// docTest_item['arglist'] = '2.048030'
// docTest_item['expect-value'] = '0x080008'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048030), (uint32_t)0x080008); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048030, /* expect: */ (uint32_t)0x080008); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048040) expect 0x08000a // 2.048V
@@ -3947,14 +4290,14 @@
// docTest_item['arglist'] = '2.048040'
// docTest_item['expect-value'] = '0x08000a'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048040), (uint32_t)0x08000a); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048040, /* expect: */ (uint32_t)0x08000a); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048050) expect 0x08000d // 2.048V
@@ -3966,14 +4309,14 @@
// docTest_item['arglist'] = '2.048050'
// docTest_item['expect-value'] = '0x08000d'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048050), (uint32_t)0x08000d); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048050, /* expect: */ (uint32_t)0x08000d); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048060) expect 0x08000f // 2.048V
@@ -3985,14 +4328,14 @@
// docTest_item['arglist'] = '2.048060'
// docTest_item['expect-value'] = '0x08000f'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048060), (uint32_t)0x08000f); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048060, /* expect: */ (uint32_t)0x08000f); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048070) expect 0x080012 // 2.048V
@@ -4004,14 +4347,14 @@
// docTest_item['arglist'] = '2.048070'
// docTest_item['expect-value'] = '0x080012'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048070), (uint32_t)0x080012); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048070, /* expect: */ (uint32_t)0x080012); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048080) expect 0x080014 // 2.048V
@@ -4023,14 +4366,14 @@
// docTest_item['arglist'] = '2.048080'
// docTest_item['expect-value'] = '0x080014'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048080), (uint32_t)0x080014); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048080, /* expect: */ (uint32_t)0x080014); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048090) expect 0x080017 // 2.048V
@@ -4042,14 +4385,14 @@
// docTest_item['arglist'] = '2.048090'
// docTest_item['expect-value'] = '0x080017'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048090), (uint32_t)0x080017); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048090, /* expect: */ (uint32_t)0x080017); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048100) expect 0x08001a // 2.048V
@@ -4061,14 +4404,14 @@
// docTest_item['arglist'] = '2.048100'
// docTest_item['expect-value'] = '0x08001a'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048100), (uint32_t)0x08001a); // 2.048V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048100, /* expect: */ (uint32_t)0x08001a); // 2.048V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_voltage_sweep V = 3.996000V to 4.106000V precision 0.010000V step 0.010000V")
@@ -4077,14 +4420,14 @@
// docTest_item['action'] = 'tinyTester.print("test_voltage_sweep V = 3.996000V to 4.106000V precision 0.010000V step 0.010000V")'
// docTest_item['arglist'] = 'test_voltage_sweep V = 3.996000V to 4.106000V precision 0.010000V step 0.010000V'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_voltage_sweep V = 3.996000V to 4.106000V precision 0.010000V step 0.010000V"
tinyTester.print("test_voltage_sweep V = 3.996000V to 4.106000V precision 0.010000V step 0.010000V");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.990000) expect 0x0f9600 // 3.990V
@@ -4096,14 +4439,14 @@
// docTest_item['arglist'] = '3.990000'
// docTest_item['expect-value'] = '0x0f9600'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.990V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.990000), (uint32_t)0x0f9600); // 3.990V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.990000, /* expect: */ (uint32_t)0x0f9600); // 3.990V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.000000) expect 0x0fa000 // 4.000V
@@ -4115,14 +4458,14 @@
// docTest_item['arglist'] = '4.000000'
// docTest_item['expect-value'] = '0x0fa000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.000V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.000000), (uint32_t)0x0fa000); // 4.000V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.000000, /* expect: */ (uint32_t)0x0fa000); // 4.000V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.010000) expect 0x0faa00 // 4.010V
@@ -4134,14 +4477,14 @@
// docTest_item['arglist'] = '4.010000'
// docTest_item['expect-value'] = '0x0faa00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.010V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.010000), (uint32_t)0x0faa00); // 4.010V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.010000, /* expect: */ (uint32_t)0x0faa00); // 4.010V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.020000) expect 0x0fb400 // 4.020V
@@ -4153,14 +4496,14 @@
// docTest_item['arglist'] = '4.020000'
// docTest_item['expect-value'] = '0x0fb400'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.020V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.020000), (uint32_t)0x0fb400); // 4.020V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.020000, /* expect: */ (uint32_t)0x0fb400); // 4.020V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.030000) expect 0x0fbe00 // 4.030V
@@ -4172,14 +4515,14 @@
// docTest_item['arglist'] = '4.030000'
// docTest_item['expect-value'] = '0x0fbe00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.030V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.030000), (uint32_t)0x0fbe00); // 4.030V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.030000, /* expect: */ (uint32_t)0x0fbe00); // 4.030V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.040000) expect 0x0fc800 // 4.040V
@@ -4191,14 +4534,14 @@
// docTest_item['arglist'] = '4.040000'
// docTest_item['expect-value'] = '0x0fc800'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.040V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.040000), (uint32_t)0x0fc800); // 4.040V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.040000, /* expect: */ (uint32_t)0x0fc800); // 4.040V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.050000) expect 0x0fd200 // 4.050V
@@ -4210,14 +4553,14 @@
// docTest_item['arglist'] = '4.050000'
// docTest_item['expect-value'] = '0x0fd200'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.050V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.050000), (uint32_t)0x0fd200); // 4.050V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.050000, /* expect: */ (uint32_t)0x0fd200); // 4.050V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.060000) expect 0x0fdc00 // 4.060V
@@ -4229,14 +4572,14 @@
// docTest_item['arglist'] = '4.060000'
// docTest_item['expect-value'] = '0x0fdc00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.060V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.060000), (uint32_t)0x0fdc00); // 4.060V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.060000, /* expect: */ (uint32_t)0x0fdc00); // 4.060V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.070000) expect 0x0fe600 // 4.070V
@@ -4248,14 +4591,14 @@
// docTest_item['arglist'] = '4.070000'
// docTest_item['expect-value'] = '0x0fe600'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.070V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.070000), (uint32_t)0x0fe600); // 4.070V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.070000, /* expect: */ (uint32_t)0x0fe600); // 4.070V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.080000) expect 0x0ff000 // 4.080V
@@ -4267,14 +4610,14 @@
// docTest_item['arglist'] = '4.080000'
// docTest_item['expect-value'] = '0x0ff000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.080V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.080000), (uint32_t)0x0ff000); // 4.080V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.080000, /* expect: */ (uint32_t)0x0ff000); // 4.080V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.090000) expect 0x0ffa00 // 4.090V
@@ -4286,14 +4629,14 @@
// docTest_item['arglist'] = '4.090000'
// docTest_item['expect-value'] = '0x0ffa00'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.090V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.090000), (uint32_t)0x0ffa00); // 4.090V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.090000, /* expect: */ (uint32_t)0x0ffa00); // 4.090V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.100000) expect 0x0fffff // 4.100V
@@ -4305,14 +4648,14 @@
// docTest_item['arglist'] = '4.100000'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.100V
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.100000), (uint32_t)0x0fffff); // 4.100V
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.100000, /* expect: */ (uint32_t)0x0fffff); // 4.100V
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_lsb_sweep V = 4.096000V LSBradius = 3LSB")
@@ -4321,14 +4664,14 @@
// docTest_item['action'] = 'tinyTester.print("test_lsb_sweep V = 4.096000V LSBradius = 3LSB")'
// docTest_item['arglist'] = 'test_lsb_sweep V = 4.096000V LSBradius = 3LSB'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_lsb_sweep V = 4.096000V LSBradius = 3LSB"
tinyTester.print("test_lsb_sweep V = 4.096000V LSBradius = 3LSB");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095988) expect 0x0ffffd // 4.096V + -3.0LSB
@@ -4340,14 +4683,14 @@
// docTest_item['arglist'] = '4.095988'
// docTest_item['expect-value'] = '0x0ffffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095988), (uint32_t)0x0ffffd); // 4.096V + -3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095988, /* expect: */ (uint32_t)0x0ffffd); // 4.096V + -3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095990) expect 0x0ffffd // 4.096V + -2.5LSB 0x0ffffd not 0x0ffffe
@@ -4359,14 +4702,14 @@
// docTest_item['arglist'] = '4.095990'
// docTest_item['expect-value'] = '0x0ffffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -2.5LSB 0x0ffffd not 0x0ffffe
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095990), (uint32_t)0x0ffffd); // 4.096V + -2.5LSB 0x0ffffd not 0x0ffffe
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095990, /* expect: */ (uint32_t)0x0ffffd); // 4.096V + -2.5LSB 0x0ffffd not 0x0ffffe
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095992) expect 0x0ffffe // 4.096V + -2.0LSB
@@ -4378,14 +4721,14 @@
// docTest_item['arglist'] = '4.095992'
// docTest_item['expect-value'] = '0x0ffffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095992), (uint32_t)0x0ffffe); // 4.096V + -2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095992, /* expect: */ (uint32_t)0x0ffffe); // 4.096V + -2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095994) expect 0x0ffffe // 4.096V + -1.5LSB
@@ -4397,14 +4740,14 @@
// docTest_item['arglist'] = '4.095994'
// docTest_item['expect-value'] = '0x0ffffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095994), (uint32_t)0x0ffffe); // 4.096V + -1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095994, /* expect: */ (uint32_t)0x0ffffe); // 4.096V + -1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095996) expect 0x0fffff // 4.096V + -1.0LSB
@@ -4416,14 +4759,14 @@
// docTest_item['arglist'] = '4.095996'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095996), (uint32_t)0x0fffff); // 4.096V + -1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095996, /* expect: */ (uint32_t)0x0fffff); // 4.096V + -1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.095998) expect 0x0fffff // 4.096V + -0.5LSB
@@ -4435,14 +4778,14 @@
// docTest_item['arglist'] = '4.095998'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + -0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.095998), (uint32_t)0x0fffff); // 4.096V + -0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.095998, /* expect: */ (uint32_t)0x0fffff); // 4.096V + -0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096000) expect 0x0fffff // 4.096V + 0.0LSB
@@ -4454,14 +4797,14 @@
// docTest_item['arglist'] = '4.096000'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 0.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096000), (uint32_t)0x0fffff); // 4.096V + 0.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096000, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 0.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096002) expect 0x0fffff // 4.096V + 0.5LSB
@@ -4473,14 +4816,14 @@
// docTest_item['arglist'] = '4.096002'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096002), (uint32_t)0x0fffff); // 4.096V + 0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096002, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096004) expect 0x0fffff // 4.096V + 1.0LSB
@@ -4492,14 +4835,14 @@
// docTest_item['arglist'] = '4.096004'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096004), (uint32_t)0x0fffff); // 4.096V + 1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096004, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096006) expect 0x0fffff // 4.096V + 1.5LSB
@@ -4511,14 +4854,14 @@
// docTest_item['arglist'] = '4.096006'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096006), (uint32_t)0x0fffff); // 4.096V + 1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096006, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096008) expect 0x0fffff // 4.096V + 2.0LSB
@@ -4530,14 +4873,14 @@
// docTest_item['arglist'] = '4.096008'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096008), (uint32_t)0x0fffff); // 4.096V + 2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096008, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096010) expect 0x0fffff // 4.096V + 2.5LSB
@@ -4549,14 +4892,14 @@
// docTest_item['arglist'] = '4.096010'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096010), (uint32_t)0x0fffff); // 4.096V + 2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096010, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(4.096012) expect 0x0fffff // 4.096V + 3.0LSB
@@ -4568,14 +4911,14 @@
// docTest_item['arglist'] = '4.096012'
// docTest_item['expect-value'] = '0x0fffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 4.096V + 3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)4.096012), (uint32_t)0x0fffff); // 4.096V + 3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)4.096012, /* expect: */ (uint32_t)0x0fffff); // 4.096V + 3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_lsb_sweep V = 3.072000V LSBradius = 3LSB")
@@ -4584,14 +4927,14 @@
// docTest_item['action'] = 'tinyTester.print("test_lsb_sweep V = 3.072000V LSBradius = 3LSB")'
// docTest_item['arglist'] = 'test_lsb_sweep V = 3.072000V LSBradius = 3LSB'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_lsb_sweep V = 3.072000V LSBradius = 3LSB"
tinyTester.print("test_lsb_sweep V = 3.072000V LSBradius = 3LSB");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071988) expect 0x0bfffd // 3.072V + -3.0LSB
@@ -4603,14 +4946,14 @@
// docTest_item['arglist'] = '3.071988'
// docTest_item['expect-value'] = '0x0bfffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071988), (uint32_t)0x0bfffd); // 3.072V + -3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071988, /* expect: */ (uint32_t)0x0bfffd); // 3.072V + -3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071990) expect 0x0bfffd // 3.072V + -2.5LSB 0x0bfffd not 0x0bfffe
@@ -4622,14 +4965,14 @@
// docTest_item['arglist'] = '3.071990'
// docTest_item['expect-value'] = '0x0bfffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -2.5LSB 0x0bfffd not 0x0bfffe
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071990), (uint32_t)0x0bfffd); // 3.072V + -2.5LSB 0x0bfffd not 0x0bfffe
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071990, /* expect: */ (uint32_t)0x0bfffd); // 3.072V + -2.5LSB 0x0bfffd not 0x0bfffe
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071992) expect 0x0bfffe // 3.072V + -2.0LSB
@@ -4641,14 +4984,14 @@
// docTest_item['arglist'] = '3.071992'
// docTest_item['expect-value'] = '0x0bfffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071992), (uint32_t)0x0bfffe); // 3.072V + -2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071992, /* expect: */ (uint32_t)0x0bfffe); // 3.072V + -2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071994) expect 0x0bfffe // 3.072V + -1.5LSB 0x0bfffe not 0x0bffff
@@ -4660,14 +5003,14 @@
// docTest_item['arglist'] = '3.071994'
// docTest_item['expect-value'] = '0x0bfffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -1.5LSB 0x0bfffe not 0x0bffff
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071994), (uint32_t)0x0bfffe); // 3.072V + -1.5LSB 0x0bfffe not 0x0bffff
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071994, /* expect: */ (uint32_t)0x0bfffe); // 3.072V + -1.5LSB 0x0bfffe not 0x0bffff
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071996) expect 0x0bffff // 3.072V + -1.0LSB
@@ -4679,14 +5022,14 @@
// docTest_item['arglist'] = '3.071996'
// docTest_item['expect-value'] = '0x0bffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071996), (uint32_t)0x0bffff); // 3.072V + -1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071996, /* expect: */ (uint32_t)0x0bffff); // 3.072V + -1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.071998) expect 0x0bffff // 3.072V + -0.5LSB 0x0bffff not 0x0c0000
@@ -4698,14 +5041,14 @@
// docTest_item['arglist'] = '3.071998'
// docTest_item['expect-value'] = '0x0bffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + -0.5LSB 0x0bffff not 0x0c0000
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.071998), (uint32_t)0x0bffff); // 3.072V + -0.5LSB 0x0bffff not 0x0c0000
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.071998, /* expect: */ (uint32_t)0x0bffff); // 3.072V + -0.5LSB 0x0bffff not 0x0c0000
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072000) expect 0x0c0000 // 3.072V + 0.0LSB
@@ -4717,14 +5060,14 @@
// docTest_item['arglist'] = '3.072000'
// docTest_item['expect-value'] = '0x0c0000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 0.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072000), (uint32_t)0x0c0000); // 3.072V + 0.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072000, /* expect: */ (uint32_t)0x0c0000); // 3.072V + 0.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072002) expect 0x0c0001 // 3.072V + 0.5LSB
@@ -4736,14 +5079,14 @@
// docTest_item['arglist'] = '3.072002'
// docTest_item['expect-value'] = '0x0c0001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072002), (uint32_t)0x0c0001); // 3.072V + 0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072002, /* expect: */ (uint32_t)0x0c0001); // 3.072V + 0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072004) expect 0x0c0001 // 3.072V + 1.0LSB
@@ -4755,14 +5098,14 @@
// docTest_item['arglist'] = '3.072004'
// docTest_item['expect-value'] = '0x0c0001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072004), (uint32_t)0x0c0001); // 3.072V + 1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072004, /* expect: */ (uint32_t)0x0c0001); // 3.072V + 1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072006) expect 0x0c0002 // 3.072V + 1.5LSB
@@ -4774,14 +5117,14 @@
// docTest_item['arglist'] = '3.072006'
// docTest_item['expect-value'] = '0x0c0002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072006), (uint32_t)0x0c0002); // 3.072V + 1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072006, /* expect: */ (uint32_t)0x0c0002); // 3.072V + 1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072008) expect 0x0c0002 // 3.072V + 2.0LSB
@@ -4793,14 +5136,14 @@
// docTest_item['arglist'] = '3.072008'
// docTest_item['expect-value'] = '0x0c0002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072008), (uint32_t)0x0c0002); // 3.072V + 2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072008, /* expect: */ (uint32_t)0x0c0002); // 3.072V + 2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072010) expect 0x0c0003 // 3.072V + 2.5LSB
@@ -4812,14 +5155,14 @@
// docTest_item['arglist'] = '3.072010'
// docTest_item['expect-value'] = '0x0c0003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072010), (uint32_t)0x0c0003); // 3.072V + 2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072010, /* expect: */ (uint32_t)0x0c0003); // 3.072V + 2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(3.072012) expect 0x0c0003 // 3.072V + 3.0LSB
@@ -4831,14 +5174,14 @@
// docTest_item['arglist'] = '3.072012'
// docTest_item['expect-value'] = '0x0c0003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 3.072V + 3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)3.072012), (uint32_t)0x0c0003); // 3.072V + 3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)3.072012, /* expect: */ (uint32_t)0x0c0003); // 3.072V + 3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_lsb_sweep V = 2.048000V LSBradius = 3LSB")
@@ -4847,14 +5190,14 @@
// docTest_item['action'] = 'tinyTester.print("test_lsb_sweep V = 2.048000V LSBradius = 3LSB")'
// docTest_item['arglist'] = 'test_lsb_sweep V = 2.048000V LSBradius = 3LSB'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_lsb_sweep V = 2.048000V LSBradius = 3LSB"
tinyTester.print("test_lsb_sweep V = 2.048000V LSBradius = 3LSB");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047988) expect 0x07fffd // 2.048V + -3.0LSB
@@ -4866,14 +5209,14 @@
// docTest_item['arglist'] = '2.047988'
// docTest_item['expect-value'] = '0x07fffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047988), (uint32_t)0x07fffd); // 2.048V + -3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047988, /* expect: */ (uint32_t)0x07fffd); // 2.048V + -3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047990) expect 0x07fffd // 2.048V + -2.5LSB
@@ -4885,14 +5228,14 @@
// docTest_item['arglist'] = '2.047990'
// docTest_item['expect-value'] = '0x07fffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047990), (uint32_t)0x07fffd); // 2.048V + -2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047990, /* expect: */ (uint32_t)0x07fffd); // 2.048V + -2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047992) expect 0x07fffe // 2.048V + -2.0LSB
@@ -4904,14 +5247,14 @@
// docTest_item['arglist'] = '2.047992'
// docTest_item['expect-value'] = '0x07fffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047992), (uint32_t)0x07fffe); // 2.048V + -2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047992, /* expect: */ (uint32_t)0x07fffe); // 2.048V + -2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047994) expect 0x07fffe // 2.048V + -1.5LSB 0x07fffe not 0x07ffff
@@ -4923,14 +5266,14 @@
// docTest_item['arglist'] = '2.047994'
// docTest_item['expect-value'] = '0x07fffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -1.5LSB 0x07fffe not 0x07ffff
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047994), (uint32_t)0x07fffe); // 2.048V + -1.5LSB 0x07fffe not 0x07ffff
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047994, /* expect: */ (uint32_t)0x07fffe); // 2.048V + -1.5LSB 0x07fffe not 0x07ffff
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047996) expect 0x07ffff // 2.048V + -1.0LSB
@@ -4942,14 +5285,14 @@
// docTest_item['arglist'] = '2.047996'
// docTest_item['expect-value'] = '0x07ffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047996), (uint32_t)0x07ffff); // 2.048V + -1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047996, /* expect: */ (uint32_t)0x07ffff); // 2.048V + -1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.047998) expect 0x07ffff // 2.048V + -0.5LSB 0x07ffff not 0x080000
@@ -4961,14 +5304,14 @@
// docTest_item['arglist'] = '2.047998'
// docTest_item['expect-value'] = '0x07ffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + -0.5LSB 0x07ffff not 0x080000
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.047998), (uint32_t)0x07ffff); // 2.048V + -0.5LSB 0x07ffff not 0x080000
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.047998, /* expect: */ (uint32_t)0x07ffff); // 2.048V + -0.5LSB 0x07ffff not 0x080000
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048000) expect 0x080000 // 2.048V + 0.0LSB
@@ -4980,14 +5323,14 @@
// docTest_item['arglist'] = '2.048000'
// docTest_item['expect-value'] = '0x080000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 0.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048000), (uint32_t)0x080000); // 2.048V + 0.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048000, /* expect: */ (uint32_t)0x080000); // 2.048V + 0.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048002) expect 0x080001 // 2.048V + 0.5LSB
@@ -4999,14 +5342,14 @@
// docTest_item['arglist'] = '2.048002'
// docTest_item['expect-value'] = '0x080001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048002), (uint32_t)0x080001); // 2.048V + 0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048002, /* expect: */ (uint32_t)0x080001); // 2.048V + 0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048004) expect 0x080001 // 2.048V + 1.0LSB
@@ -5018,14 +5361,14 @@
// docTest_item['arglist'] = '2.048004'
// docTest_item['expect-value'] = '0x080001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048004), (uint32_t)0x080001); // 2.048V + 1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048004, /* expect: */ (uint32_t)0x080001); // 2.048V + 1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048006) expect 0x080002 // 2.048V + 1.5LSB
@@ -5037,14 +5380,14 @@
// docTest_item['arglist'] = '2.048006'
// docTest_item['expect-value'] = '0x080002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048006), (uint32_t)0x080002); // 2.048V + 1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048006, /* expect: */ (uint32_t)0x080002); // 2.048V + 1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048008) expect 0x080002 // 2.048V + 2.0LSB
@@ -5056,14 +5399,14 @@
// docTest_item['arglist'] = '2.048008'
// docTest_item['expect-value'] = '0x080002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048008), (uint32_t)0x080002); // 2.048V + 2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048008, /* expect: */ (uint32_t)0x080002); // 2.048V + 2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048010) expect 0x080003 // 2.048V + 2.5LSB
@@ -5075,14 +5418,14 @@
// docTest_item['arglist'] = '2.048010'
// docTest_item['expect-value'] = '0x080003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048010), (uint32_t)0x080003); // 2.048V + 2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048010, /* expect: */ (uint32_t)0x080003); // 2.048V + 2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(2.048012) expect 0x080003 // 2.048V + 3.0LSB
@@ -5094,14 +5437,14 @@
// docTest_item['arglist'] = '2.048012'
// docTest_item['expect-value'] = '0x080003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 2.048V + 3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)2.048012), (uint32_t)0x080003); // 2.048V + 3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)2.048012, /* expect: */ (uint32_t)0x080003); // 2.048V + 3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_lsb_sweep V = 1.024000V LSBradius = 3LSB")
@@ -5110,14 +5453,14 @@
// docTest_item['action'] = 'tinyTester.print("test_lsb_sweep V = 1.024000V LSBradius = 3LSB")'
// docTest_item['arglist'] = 'test_lsb_sweep V = 1.024000V LSBradius = 3LSB'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_lsb_sweep V = 1.024000V LSBradius = 3LSB"
tinyTester.print("test_lsb_sweep V = 1.024000V LSBradius = 3LSB");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023988) expect 0x03fffd // 1.024V + -3.0LSB
@@ -5129,14 +5472,14 @@
// docTest_item['arglist'] = '1.023988'
// docTest_item['expect-value'] = '0x03fffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023988), (uint32_t)0x03fffd); // 1.024V + -3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023988, /* expect: */ (uint32_t)0x03fffd); // 1.024V + -3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023990) expect 0x03fffd // 1.024V + -2.5LSB 0x03fffd not 0x03fffe
@@ -5148,14 +5491,14 @@
// docTest_item['arglist'] = '1.023990'
// docTest_item['expect-value'] = '0x03fffd'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -2.5LSB 0x03fffd not 0x03fffe
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023990), (uint32_t)0x03fffd); // 1.024V + -2.5LSB 0x03fffd not 0x03fffe
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023990, /* expect: */ (uint32_t)0x03fffd); // 1.024V + -2.5LSB 0x03fffd not 0x03fffe
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023992) expect 0x03fffe // 1.024V + -2.0LSB
@@ -5167,14 +5510,14 @@
// docTest_item['arglist'] = '1.023992'
// docTest_item['expect-value'] = '0x03fffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023992), (uint32_t)0x03fffe); // 1.024V + -2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023992, /* expect: */ (uint32_t)0x03fffe); // 1.024V + -2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023994) expect 0x03fffe // 1.024V + -1.5LSB
@@ -5186,14 +5529,14 @@
// docTest_item['arglist'] = '1.023994'
// docTest_item['expect-value'] = '0x03fffe'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023994), (uint32_t)0x03fffe); // 1.024V + -1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023994, /* expect: */ (uint32_t)0x03fffe); // 1.024V + -1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023996) expect 0x03ffff // 1.024V + -1.0LSB
@@ -5205,14 +5548,14 @@
// docTest_item['arglist'] = '1.023996'
// docTest_item['expect-value'] = '0x03ffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023996), (uint32_t)0x03ffff); // 1.024V + -1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023996, /* expect: */ (uint32_t)0x03ffff); // 1.024V + -1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.023998) expect 0x03ffff // 1.024V + -0.5LSB 0x03ffff not 0x040000
@@ -5224,14 +5567,14 @@
// docTest_item['arglist'] = '1.023998'
// docTest_item['expect-value'] = '0x03ffff'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + -0.5LSB 0x03ffff not 0x040000
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.023998), (uint32_t)0x03ffff); // 1.024V + -0.5LSB 0x03ffff not 0x040000
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.023998, /* expect: */ (uint32_t)0x03ffff); // 1.024V + -0.5LSB 0x03ffff not 0x040000
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024000) expect 0x040000 // 1.024V + 0.0LSB
@@ -5243,14 +5586,14 @@
// docTest_item['arglist'] = '1.024000'
// docTest_item['expect-value'] = '0x040000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 0.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024000), (uint32_t)0x040000); // 1.024V + 0.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024000, /* expect: */ (uint32_t)0x040000); // 1.024V + 0.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024002) expect 0x040001 // 1.024V + 0.5LSB
@@ -5262,14 +5605,14 @@
// docTest_item['arglist'] = '1.024002'
// docTest_item['expect-value'] = '0x040001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024002), (uint32_t)0x040001); // 1.024V + 0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024002, /* expect: */ (uint32_t)0x040001); // 1.024V + 0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024004) expect 0x040001 // 1.024V + 1.0LSB
@@ -5281,14 +5624,14 @@
// docTest_item['arglist'] = '1.024004'
// docTest_item['expect-value'] = '0x040001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024004), (uint32_t)0x040001); // 1.024V + 1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024004, /* expect: */ (uint32_t)0x040001); // 1.024V + 1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024006) expect 0x040002 // 1.024V + 1.5LSB
@@ -5300,14 +5643,14 @@
// docTest_item['arglist'] = '1.024006'
// docTest_item['expect-value'] = '0x040002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024006), (uint32_t)0x040002); // 1.024V + 1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024006, /* expect: */ (uint32_t)0x040002); // 1.024V + 1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024008) expect 0x040002 // 1.024V + 2.0LSB
@@ -5319,14 +5662,14 @@
// docTest_item['arglist'] = '1.024008'
// docTest_item['expect-value'] = '0x040002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024008), (uint32_t)0x040002); // 1.024V + 2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024008, /* expect: */ (uint32_t)0x040002); // 1.024V + 2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024010) expect 0x040003 // 1.024V + 2.5LSB
@@ -5338,14 +5681,14 @@
// docTest_item['arglist'] = '1.024010'
// docTest_item['expect-value'] = '0x040003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024010), (uint32_t)0x040003); // 1.024V + 2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024010, /* expect: */ (uint32_t)0x040003); // 1.024V + 2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(1.024012) expect 0x040003 // 1.024V + 3.0LSB
@@ -5357,14 +5700,14 @@
// docTest_item['arglist'] = '1.024012'
// docTest_item['expect-value'] = '0x040003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 1.024V + 3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)1.024012), (uint32_t)0x040003); // 1.024V + 3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)1.024012, /* expect: */ (uint32_t)0x040003); // 1.024V + 3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.print("test_lsb_sweep V = 0.000000V LSBradius = 3LSB")
@@ -5373,14 +5716,14 @@
// docTest_item['action'] = 'tinyTester.print("test_lsb_sweep V = 0.000000V LSBradius = 3LSB")'
// docTest_item['arglist'] = 'test_lsb_sweep V = 0.000000V LSBradius = 3LSB'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// print-string
// tinyTesterFuncName = "tinyTester.print"
// tinyTesterPrintStringLiteral = "test_lsb_sweep V = 0.000000V LSBradius = 3LSB"
tinyTester.print("test_lsb_sweep V = 0.000000V LSBradius = 3LSB");
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000012) expect 0x000000 // 0.000V + -3.0LSB
@@ -5392,14 +5735,14 @@
// docTest_item['arglist'] = '-0.000012'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000012), (uint32_t)0x000000); // 0.000V + -3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000012, /* expect: */ (uint32_t)0x000000); // 0.000V + -3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000010) expect 0x000000 // 0.000V + -2.5LSB
@@ -5411,14 +5754,14 @@
// docTest_item['arglist'] = '-0.000010'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000010), (uint32_t)0x000000); // 0.000V + -2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000010, /* expect: */ (uint32_t)0x000000); // 0.000V + -2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000008) expect 0x000000 // 0.000V + -2.0LSB
@@ -5430,14 +5773,14 @@
// docTest_item['arglist'] = '-0.000008'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000008), (uint32_t)0x000000); // 0.000V + -2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000008, /* expect: */ (uint32_t)0x000000); // 0.000V + -2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000006) expect 0x000000 // 0.000V + -1.5LSB
@@ -5449,14 +5792,14 @@
// docTest_item['arglist'] = '-0.000006'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000006), (uint32_t)0x000000); // 0.000V + -1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000006, /* expect: */ (uint32_t)0x000000); // 0.000V + -1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000004) expect 0x000000 // 0.000V + -1.0LSB
@@ -5468,14 +5811,14 @@
// docTest_item['arglist'] = '-0.000004'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000004), (uint32_t)0x000000); // 0.000V + -1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000004, /* expect: */ (uint32_t)0x000000); // 0.000V + -1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(-0.000002) expect 0x000000 // 0.000V + -0.5LSB
@@ -5487,14 +5830,14 @@
// docTest_item['arglist'] = '-0.000002'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + -0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)-0.000002), (uint32_t)0x000000); // 0.000V + -0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)-0.000002, /* expect: */ (uint32_t)0x000000); // 0.000V + -0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000000) expect 0x000000 // 0.000V + 0.0LSB
@@ -5506,14 +5849,14 @@
// docTest_item['arglist'] = '0.000000'
// docTest_item['expect-value'] = '0x000000'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 0.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000000), (uint32_t)0x000000); // 0.000V + 0.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000000, /* expect: */ (uint32_t)0x000000); // 0.000V + 0.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000002) expect 0x000001 // 0.000V + 0.5LSB
@@ -5525,14 +5868,14 @@
// docTest_item['arglist'] = '0.000002'
// docTest_item['expect-value'] = '0x000001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 0.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000002), (uint32_t)0x000001); // 0.000V + 0.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000002, /* expect: */ (uint32_t)0x000001); // 0.000V + 0.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000004) expect 0x000001 // 0.000V + 1.0LSB
@@ -5544,14 +5887,14 @@
// docTest_item['arglist'] = '0.000004'
// docTest_item['expect-value'] = '0x000001'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 1.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000004), (uint32_t)0x000001); // 0.000V + 1.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000004, /* expect: */ (uint32_t)0x000001); // 0.000V + 1.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000006) expect 0x000002 // 0.000V + 1.5LSB
@@ -5563,14 +5906,14 @@
// docTest_item['arglist'] = '0.000006'
// docTest_item['expect-value'] = '0x000002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 1.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000006), (uint32_t)0x000002); // 0.000V + 1.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000006, /* expect: */ (uint32_t)0x000002); // 0.000V + 1.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000008) expect 0x000002 // 0.000V + 2.0LSB
@@ -5582,14 +5925,14 @@
// docTest_item['arglist'] = '0.000008'
// docTest_item['expect-value'] = '0x000002'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 2.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000008), (uint32_t)0x000002); // 0.000V + 2.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000008, /* expect: */ (uint32_t)0x000002); // 0.000V + 2.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000010) expect 0x000003 // 0.000V + 2.5LSB
@@ -5601,14 +5944,14 @@
// docTest_item['arglist'] = '0.000010'
// docTest_item['expect-value'] = '0x000003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 2.5LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000010), (uint32_t)0x000003); // 0.000V + 2.5LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000010, /* expect: */ (uint32_t)0x000003); // 0.000V + 2.5LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage DACCodeOfVoltage(0.000012) expect 0x000003 // 0.000V + 3.0LSB
@@ -5620,14 +5963,14 @@
// docTest_item['arglist'] = '0.000012'
// docTest_item['expect-value'] = '0x000003'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage DACCodeOfVoltage 0.000V + 3.0LSB
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// call-function
// selfTestFunctionClosures['DACCodeOfVoltage']['returnType'] = 'uint32_t'
// ASSERT_EQ(g_MAX5719_device.DACCodeOfVoltage((double)0.000012), (uint32_t)0x000003); // 0.000V + 3.0LSB
tinyTester.FunctionCall_lu_f_Expect("MAX5719.DACCodeOfVoltage", fn_MAX5719_DACCodeOfVoltage, (double)0.000012, /* expect: */ (uint32_t)0x000003); // 0.000V + 3.0LSB
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
// @test group DACCodeOfVoltage tinyTester.blink_time_msec = 75 // default 75 resume hardware self test
@@ -5638,14 +5981,14 @@
// docTest_item['propName'] = 'tinyTester.blink_time_msec'
// docTest_item['propValue'] = '75'
#if MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage None default 75 resume hardware self test
- if (SelfTestGroupEnable & 0x0008) {
+ if (SelfTestGroupEnable & 0x0040) {
// assign-propname-value
// tinyTesterPropName = "tinyTester.blink_time_msec"
// tinyTesterPropValue = "75"
tinyTester.blink_time_msec = 75;
// halt-on-first-failure logic
if ((SelfTestGroupEnable & 0x0001) && (tinyTester.nFail != 0)) { goto exitTesting; }
- } // if (SelfTestGroupEnable & 0x0008)
+ } // if (SelfTestGroupEnable & 0x0040)
#endif // MAX5719_SELFTEST_DACCodeOfVoltage // group DACCodeOfVoltage
//
@@ -5656,6 +5999,8 @@
#endif
//
// repeat-until-failure logic
+ // if (cmdLine.serial().readable()) { goto exitTesting; }
+ if (serial.readable()) { goto exitTesting; }
if ((SelfTestGroupEnable & 0x0002) && (tinyTester.nFail == 0)) { goto repeatUntilFailure; }
//
// halt-on-first-failure logic
@@ -6427,24 +6772,33 @@
{
// . -- SelfTest
cmdLine.serial().printf("SelfTest()");
- // parse "run=0x0020" set SelfTestGroupEnable bitmask and run tests
+ // parse "run=0x0004" -- run selected tests
if (cmdLine.parse_int_dec("run", SelfTestGroupEnable))
{
}
- // parse "runfail=0x0020" -- set SelfTestGroupEnable and run tests, halt on first failure
+ // parse "runall=0x0004" -- run selected tests, continue even if tests fail
+ if (cmdLine.parse_int_dec("runall", SelfTestGroupEnable))
+ {
+ SelfTestGroupEnable &=~ 2; // xxxxxx0x: no repeat-until-failure
+ SelfTestGroupEnable &=~ 1; // xxxxxxx0: no halt-on-first-failure
+ }
+ // parse "runfail=0x0004" -- run selected tests, halt on first failure
if (cmdLine.parse_int_dec("runfail", SelfTestGroupEnable))
{
- SelfTestGroupEnable |= 1;
+ SelfTestGroupEnable &=~ 2; // xxxxxx0x: no repeat-until-failure
+ SelfTestGroupEnable |= 1; // xxxxxxx1: halt-on-first-failure
}
- // parse "runall=0x0020" -- run selected tests, continue even if tests fail
- if (cmdLine.parse_int_dec("runall", SelfTestGroupEnable))
+ // parse "loopall=0x0004" -- run selected tests, repeat until keypress
+ if (cmdLine.parse_int_dec("loopall", SelfTestGroupEnable))
{
- SelfTestGroupEnable &=~ 1;
+ SelfTestGroupEnable |= 2; // xxxxxx1x: repeat-until-failure
+ SelfTestGroupEnable &=~ 1; // xxxxxx10
}
- // parse "loopfail=0x0020" -- run selected tests, repeat until first failure
+ // parse "loopfail=0x0004" -- run selected tests, repeat until first failure
if (cmdLine.parse_int_dec("loopfail", SelfTestGroupEnable))
{
- SelfTestGroupEnable |= 3;
+ SelfTestGroupEnable |= 2; // xxxxxx1x: repeat-until-failure
+ SelfTestGroupEnable |= 1; // xxxxxxx1: halt-on-first-failure
}
SelfTest(cmdLine);
}