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 MAX11410 CmdLine USBDevice
Diff: Test_Menu_MAX11410.cpp
- Revision:
- 59:c0376adb6ebc
- Parent:
- 56:6e9c52cc9abe
- Child:
- 60:f38c54a91794
--- a/Test_Menu_MAX11410.cpp Sun Mar 15 10:28:10 2020 +0000 +++ b/Test_Menu_MAX11410.cpp Sun Mar 29 11:31:47 2020 +0000 @@ -96,6 +96,51 @@ // CODE GENERATOR: CommandDocParamOut '' // CODE GENERATOR: CommandPost '' // CODE GENERATOR: CommandReturn '@return 1 on success; 0 on failure' +// CODE GENERATOR: CommandDocTest '@test Init() expect 1' +// CODE GENERATOR: CommandDocTest 'TODO1: #169 SelfTest support @test tinyTester.print("message")' +// CODE GENERATOR: CommandDocTest '@test tinyTester.print("message print to console")' +// CODE GENERATOR: CommandDocTest '@test tinyTester.print("check part ID register")' +// CODE GENERATOR: CommandDocTest '@test tinyTester.print("check filter register POR value")' +// CODE GENERATOR: CommandDocTest '@test tinyTester.print("check filter register is writeable")' +// CODE GENERATOR: CommandDocTest '@test RegWrite(0x08, 0x34) expect 1' +// CODE GENERATOR: CommandDocTest '@test tinyTester.print("check filter register is readable")' +// CODE GENERATOR: CommandDocTest '@test RegRead(0x08, buffer) expect 1 expect-buffer 0x34' +// CODE GENERATOR: CommandDocTest 'TODO1: #169 SelfTest support @test tinyTester.settle_time_msec = 250' +// CODE GENERATOR: CommandDocTest '@test tinyTester.settle_time_msec = 250 // default 250' +// CODE GENERATOR: CommandDocTest '@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' +// CODE GENERATOR: CommandDocTest '@test tinyTester.input_timeout_time_msec = 250 // default 250' +// CODE GENERATOR: CommandDocTest '@test tinyTester.settle_time_msec = 20 // default 250' +// CODE GENERATOR: CommandDocTest '@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' +// CODE GENERATOR: CommandDocTest '@test tinyTester.input_timeout_time_msec = 100 // default 250' +// CODE GENERATOR: CommandDocTest 'TODO1: #169 SelfTest support @test tinyTester.Wait_Output_Settling()' +// CODE GENERATOR: CommandDocTest '@test tinyTester.Wait_Output_Settling()' +// CODE GENERATOR: CommandDescriptionCMDWord = RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r001_0001_xxxx_xxxx_xxxx_xxxx_xxxx_xddd_PART_ID, +// CODE GENERATOR: MAX11410 Command Name = Init RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r001_0001_xxxx_xxxx_xxxx_xxxx_xxxx_xddd_PART_ID, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = *CMD_r001_0001_xxxx_xxxx_xxxx_xxxx_xxxx_xddd_PART_ID? +// CODE GENERATOR: MAX11410 Command Name = Init *CMD_r001_0001_xxxx_xxxx_xxxx_xxxx_xxxx_xddd_PART_ID? (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, +// CODE GENERATOR: MAX11410 Command Name = Init RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = (&)(MAX11410::MAX11410_CMD_enum_t, +// CODE GENERATOR: MAX11410 Command Name = Init (&)(MAX11410::MAX11410_CMD_enum_t, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = MAX11410::MAX11410_CMD_enum_t, +// CODE GENERATOR: MAX11410 Command Name = Init MAX11410::MAX11410_CMD_enum_t, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = RegWrite(CMD_r000_1000_x0dd_dddd_FILTER, +// CODE GENERATOR: MAX11410 Command Name = Init RegWrite(CMD_r000_1000_x0dd_dddd_FILTER, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = RegWrite(MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, +// CODE GENERATOR: MAX11410 Command Name = Init RegWrite(MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = RegWrite(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, +// CODE GENERATOR: MAX11410 Command Name = Init RegWrite(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init +// CODE GENERATOR: CommandDescriptionCMDWord = RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, +// CODE GENERATOR: MAX11410 Command Name = Init RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER, (void) --> uint8_t +// CODE GENERATOR: ! -- helpString: ! -- Init // CODE GENERATOR: MAX11410 Command Name = VoltageOfCode_Unipolar (uint32_t value_u24) --> double // CODE GENERATOR: no Menu item hint in description // CODE GENERATOR: MAX11410 Command Name = VoltageOfCode_Bipolar_OffsetBinary (uint32_t value_u24) --> double @@ -438,51 +483,53 @@ // CODE GENERATOR: CommandDocParamOut '' // CODE GENERATOR: CommandPost '' // CODE GENERATOR: CommandReturn '@return ideal temperature in degrees C, calculated from RTD resistance in ohms' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 TC_TypeK at 0C = 0.000mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 TC_TypeK at 1C = 0.039mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 TC_TypeK at 2C = 0.079mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 TC_TypeK at 3C = 0.119mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 TC_TypeK at 4C = 0.158mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 TC_TypeK at 5C = 0.198mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 TC_TypeK at 6C = 0.238mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 TC_TypeK at 7C = 0.2775mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 TC_TypeK at 8C = 0.317mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 TC_TypeK at 9C = 0.357mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 TC_TypeK at 10C = 0.397mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 TC_TypeK at 20C = 0.798mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 TC_TypeK at 27C = 1.081mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 TC_TypeK at 30C = 1.203mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 TC_TypeK at 40C = 1.612mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 TC_TypeK at 50C = 2.023mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 TC_TypeK at 60C = 2.436mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 TC_TypeK at 70C = 2.851mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 TC_TypeK at 80C = 3.267mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 TC_TypeK at 90C = 3.682mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 TC_TypeK at 100C = 4.096mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 TC_TypeK at 110C = 4.509mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 TC_TypeK at 120C = 4.920mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 TC_TypeK at 130C = 5.328mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 TC_TypeK at 140C = 5.735mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 TC_TypeK at 150C = 6.138mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 TC_TypeK at 160C = 6.540mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 TC_TypeK at 170C = 6.941mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 TC_TypeK at 180C = 7.340mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 TC_TypeK at 190C = 7.739mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 TC_TypeK at 200C = 8.138mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 TC_TypeK at 210C = 8.539mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 TC_TypeK at 220C = 8.940mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 TC_TypeK at 230C = 9.343mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 TC_TypeK at 240C = 9.747mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 TC_TypeK at 250C = 10.153mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 TC_TypeK at 260C = 10.561mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 TC_TypeK at 270C = 10.971mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 TC_TypeK at 280C = 11.382mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 TC_TypeK at 290C = 11.795mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 TC_TypeK at 300C = 12.209mV' -// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 TC_TypeK at 350C = 14.293mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 TC_TypeK at 400C = 16.397mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 TC_TypeK at 450C = 18.516mV' -// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 TC_TypeK at 490C = 20.218mV' +// CODE GENERATOR: CommandDocTest '@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 // TC_TypeK at 0C = 0.000mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 // TC_TypeK at 1C = 0.039mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 // TC_TypeK at 2C = 0.079mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 // TC_TypeK at 3C = 0.119mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 // TC_TypeK at 4C = 0.158mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 // TC_TypeK at 5C = 0.198mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 // TC_TypeK at 6C = 0.238mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 // TC_TypeK at 7C = 0.2775mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 // TC_TypeK at 8C = 0.317mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 // TC_TypeK at 9C = 0.357mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 // TC_TypeK at 10C = 0.397mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 // TC_TypeK at 20C = 0.798mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 // TC_TypeK at 27C = 1.081mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 // TC_TypeK at 30C = 1.203mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 // TC_TypeK at 40C = 1.612mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 // TC_TypeK at 50C = 2.023mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 // TC_TypeK at 60C = 2.436mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 // TC_TypeK at 70C = 2.851mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 // TC_TypeK at 80C = 3.267mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 // TC_TypeK at 90C = 3.682mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 // TC_TypeK at 100C = 4.096mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 // TC_TypeK at 110C = 4.509mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 // TC_TypeK at 120C = 4.920mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 // TC_TypeK at 130C = 5.328mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 // TC_TypeK at 140C = 5.735mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 // TC_TypeK at 150C = 6.138mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 // TC_TypeK at 160C = 6.540mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 // TC_TypeK at 170C = 6.941mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 // TC_TypeK at 180C = 7.340mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 // TC_TypeK at 190C = 7.739mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 // TC_TypeK at 200C = 8.138mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 // TC_TypeK at 210C = 8.539mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 // TC_TypeK at 220C = 8.940mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 // TC_TypeK at 230C = 9.343mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 // TC_TypeK at 240C = 9.747mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 // TC_TypeK at 250C = 10.153mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 // TC_TypeK at 260C = 10.561mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 // TC_TypeK at 270C = 10.971mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 // TC_TypeK at 280C = 11.382mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 // TC_TypeK at 290C = 11.795mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 // TC_TypeK at 300C = 12.209mV' +// CODE GENERATOR: CommandDocTest '@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 // TC_TypeK at 350C = 14.293mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 // TC_TypeK at 400C = 16.397mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 // TC_TypeK at 450C = 18.516mV' +// CODE GENERATOR: CommandDocTest '@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 // TC_TypeK at 490C = 20.218mV' +// CODE GENERATOR: CommandDocTest '@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' // CODE GENERATOR: MAX11410 Command Name = temperatureDegC_polynomial (double thermocouple_voltage_uV, int num_coefficients, double coefficients[]) --> double // CODE GENERATOR: no Menu item hint in description // CODE GENERATOR: testMenuGlobalArgsDict scan global property list g_MAX11410_device @@ -927,7 +974,7 @@ // CODE GENERATOR: top of loop: testMenuCommand="!", testMenuFirstCharHandler="None" // CODE GENERATOR: test menu case '!': // CODE GENERATOR: helpString '! -- Init' -// CODE GENERATOR: CMD_ 'None' +// CODE GENERATOR: CMD_ 'RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER,' // CODE GENERATOR: CommandName 'Init' // CODE GENERATOR: CommandParamIn 'void' // CODE GENERATOR: CommandReturnType 'uint8_t' @@ -936,12 +983,30 @@ // CODE GENERATOR: CommandDocParamOut '' // CODE GENERATOR: CommandPost '' // CODE GENERATOR: CommandReturn '@return 1 on success; 0 on failure' +// CODE GENERATOR: CommandTest '@test Init() expect 1' +// CODE GENERATOR: CommandTest 'TODO1: #169 SelfTest support @test tinyTester.print("message")' +// CODE GENERATOR: CommandTest '@test tinyTester.print("message print to console")' +// CODE GENERATOR: CommandTest '@test tinyTester.print("check part ID register")' +// CODE GENERATOR: CommandTest '@test tinyTester.print("check filter register POR value")' +// CODE GENERATOR: CommandTest '@test tinyTester.print("check filter register is writeable")' +// CODE GENERATOR: CommandTest '@test RegWrite(0x08, 0x34) expect 1' +// CODE GENERATOR: CommandTest '@test tinyTester.print("check filter register is readable")' +// CODE GENERATOR: CommandTest '@test RegRead(0x08, buffer) expect 1 expect-buffer 0x34' +// CODE GENERATOR: CommandTest 'TODO1: #169 SelfTest support @test tinyTester.settle_time_msec = 250' +// CODE GENERATOR: CommandTest '@test tinyTester.settle_time_msec = 250 // default 250' +// CODE GENERATOR: CommandTest '@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' +// CODE GENERATOR: CommandTest '@test tinyTester.input_timeout_time_msec = 250 // default 250' +// CODE GENERATOR: CommandTest '@test tinyTester.settle_time_msec = 20 // default 250' +// CODE GENERATOR: CommandTest '@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' +// CODE GENERATOR: CommandTest '@test tinyTester.input_timeout_time_msec = 100 // default 250' +// CODE GENERATOR: CommandTest 'TODO1: #169 SelfTest support @test tinyTester.Wait_Output_Settling()' +// CODE GENERATOR: CommandTest '@test tinyTester.Wait_Output_Settling()' // case '!': // (single character) (testMenuFirstCharHandler="None") case '!': { // test menu command '!' handler: // helpString='! -- Init' - // CMD_='None' + // CMD_='RegRead(MAX11410::MAX11410_CMD_enum_t::CMD_r000_1000_x0dd_dddd_FILTER,' // CommandName='Init' // CommandParamIn='void' // CommandReturnType='uint8_t' @@ -949,8 +1014,25 @@ // @Param[in]='' // @Param[out]='' // @Post='' - // displayPost='' // @Return='@return 1 on success; 0 on failure' + // @Test='@test Init() expect 1' + // @Test='TODO1: #169 SelfTest support @test tinyTester.print("message")' + // @Test='@test tinyTester.print("message print to console")' + // @Test='@test tinyTester.print("check part ID register")' + // @Test='@test tinyTester.print("check filter register POR value")' + // @Test='@test tinyTester.print("check filter register is writeable")' + // @Test='@test RegWrite(0x08, 0x34) expect 1' + // @Test='@test tinyTester.print("check filter register is readable")' + // @Test='@test RegRead(0x08, buffer) expect 1 expect-buffer 0x34' + // @Test='TODO1: #169 SelfTest support @test tinyTester.settle_time_msec = 250' + // @Test='@test tinyTester.settle_time_msec = 250 // default 250' + // @Test='@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' + // @Test='@test tinyTester.input_timeout_time_msec = 250 // default 250' + // @Test='@test tinyTester.settle_time_msec = 20 // default 250' + // @Test='@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' + // @Test='@test tinyTester.input_timeout_time_msec = 100 // default 250' + // @Test='TODO1: #169 SelfTest support @test tinyTester.Wait_Output_Settling()' + // @Test='@test tinyTester.Wait_Output_Settling()' cmdLine.serial().printf("Init"); // call function Init uint8_t result = g_MAX11410_device.Init(); @@ -1097,51 +1179,53 @@ // CODE GENERATOR: CommandDocParamOut '' // CODE GENERATOR: CommandPost '' // CODE GENERATOR: CommandReturn '@return ideal temperature in degrees C, calculated from RTD resistance in ohms' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 TC_TypeK at 0C = 0.000mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 TC_TypeK at 1C = 0.039mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 TC_TypeK at 2C = 0.079mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 TC_TypeK at 3C = 0.119mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 TC_TypeK at 4C = 0.158mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 TC_TypeK at 5C = 0.198mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 TC_TypeK at 6C = 0.238mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 TC_TypeK at 7C = 0.2775mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 TC_TypeK at 8C = 0.317mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 TC_TypeK at 9C = 0.357mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 TC_TypeK at 10C = 0.397mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 TC_TypeK at 20C = 0.798mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 TC_TypeK at 27C = 1.081mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 TC_TypeK at 30C = 1.203mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 TC_TypeK at 40C = 1.612mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 TC_TypeK at 50C = 2.023mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 TC_TypeK at 60C = 2.436mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 TC_TypeK at 70C = 2.851mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 TC_TypeK at 80C = 3.267mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 TC_TypeK at 90C = 3.682mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 TC_TypeK at 100C = 4.096mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 TC_TypeK at 110C = 4.509mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 TC_TypeK at 120C = 4.920mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 TC_TypeK at 130C = 5.328mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 TC_TypeK at 140C = 5.735mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 TC_TypeK at 150C = 6.138mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 TC_TypeK at 160C = 6.540mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 TC_TypeK at 170C = 6.941mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 TC_TypeK at 180C = 7.340mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 TC_TypeK at 190C = 7.739mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 TC_TypeK at 200C = 8.138mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 TC_TypeK at 210C = 8.539mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 TC_TypeK at 220C = 8.940mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 TC_TypeK at 230C = 9.343mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 TC_TypeK at 240C = 9.747mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 TC_TypeK at 250C = 10.153mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 TC_TypeK at 260C = 10.561mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 TC_TypeK at 270C = 10.971mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 TC_TypeK at 280C = 11.382mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 TC_TypeK at 290C = 11.795mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 TC_TypeK at 300C = 12.209mV' -// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 TC_TypeK at 350C = 14.293mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 TC_TypeK at 400C = 16.397mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 TC_TypeK at 450C = 18.516mV' -// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 TC_TypeK at 490C = 20.218mV' +// CODE GENERATOR: CommandTest '@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 // TC_TypeK at 0C = 0.000mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 // TC_TypeK at 1C = 0.039mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 // TC_TypeK at 2C = 0.079mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 // TC_TypeK at 3C = 0.119mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 // TC_TypeK at 4C = 0.158mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 // TC_TypeK at 5C = 0.198mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 // TC_TypeK at 6C = 0.238mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 // TC_TypeK at 7C = 0.2775mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 // TC_TypeK at 8C = 0.317mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 // TC_TypeK at 9C = 0.357mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 // TC_TypeK at 10C = 0.397mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 // TC_TypeK at 20C = 0.798mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 // TC_TypeK at 27C = 1.081mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 // TC_TypeK at 30C = 1.203mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 // TC_TypeK at 40C = 1.612mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 // TC_TypeK at 50C = 2.023mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 // TC_TypeK at 60C = 2.436mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 // TC_TypeK at 70C = 2.851mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 // TC_TypeK at 80C = 3.267mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 // TC_TypeK at 90C = 3.682mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 // TC_TypeK at 100C = 4.096mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 // TC_TypeK at 110C = 4.509mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 // TC_TypeK at 120C = 4.920mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 // TC_TypeK at 130C = 5.328mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 // TC_TypeK at 140C = 5.735mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 // TC_TypeK at 150C = 6.138mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 // TC_TypeK at 160C = 6.540mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 // TC_TypeK at 170C = 6.941mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 // TC_TypeK at 180C = 7.340mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 // TC_TypeK at 190C = 7.739mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 // TC_TypeK at 200C = 8.138mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 // TC_TypeK at 210C = 8.539mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 // TC_TypeK at 220C = 8.940mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 // TC_TypeK at 230C = 9.343mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 // TC_TypeK at 240C = 9.747mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 // TC_TypeK at 250C = 10.153mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 // TC_TypeK at 260C = 10.561mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 // TC_TypeK at 270C = 10.971mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 // TC_TypeK at 280C = 11.382mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 // TC_TypeK at 290C = 11.795mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 // TC_TypeK at 300C = 12.209mV' +// CODE GENERATOR: CommandTest '@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 // TC_TypeK at 350C = 14.293mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 // TC_TypeK at 400C = 16.397mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 // TC_TypeK at 450C = 18.516mV' +// CODE GENERATOR: CommandTest '@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 // TC_TypeK at 490C = 20.218mV' +// CODE GENERATOR: CommandTest '@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' case 'T': // (multiple characters) (testMenuFirstCharHandler="T"): { switch (cmdLine[1]) @@ -1160,51 +1244,53 @@ // @Post='' // displayPost='' // @Return='@return ideal temperature in degrees C, calculated from RTD resistance in ohms' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 TC_TypeK at 0C = 0.000mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 TC_TypeK at 1C = 0.039mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 TC_TypeK at 2C = 0.079mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 TC_TypeK at 3C = 0.119mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 TC_TypeK at 4C = 0.158mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 TC_TypeK at 5C = 0.198mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 TC_TypeK at 6C = 0.238mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 TC_TypeK at 7C = 0.2775mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 TC_TypeK at 8C = 0.317mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 TC_TypeK at 9C = 0.357mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 TC_TypeK at 10C = 0.397mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 TC_TypeK at 20C = 0.798mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 TC_TypeK at 27C = 1.081mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 TC_TypeK at 30C = 1.203mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 TC_TypeK at 40C = 1.612mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 TC_TypeK at 50C = 2.023mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 TC_TypeK at 60C = 2.436mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 TC_TypeK at 70C = 2.851mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 TC_TypeK at 80C = 3.267mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 TC_TypeK at 90C = 3.682mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 TC_TypeK at 100C = 4.096mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 TC_TypeK at 110C = 4.509mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 TC_TypeK at 120C = 4.920mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 TC_TypeK at 130C = 5.328mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 TC_TypeK at 140C = 5.735mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 TC_TypeK at 150C = 6.138mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 TC_TypeK at 160C = 6.540mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 TC_TypeK at 170C = 6.941mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 TC_TypeK at 180C = 7.340mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 TC_TypeK at 190C = 7.739mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 TC_TypeK at 200C = 8.138mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 TC_TypeK at 210C = 8.539mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 TC_TypeK at 220C = 8.940mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 TC_TypeK at 230C = 9.343mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 TC_TypeK at 240C = 9.747mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 TC_TypeK at 250C = 10.153mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 TC_TypeK at 260C = 10.561mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 TC_TypeK at 270C = 10.971mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 TC_TypeK at 280C = 11.382mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 TC_TypeK at 290C = 11.795mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 TC_TypeK at 300C = 12.209mV' - // @Test='@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 TC_TypeK at 350C = 14.293mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 TC_TypeK at 400C = 16.397mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 TC_TypeK at 450C = 18.516mV' - // @Test='@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 TC_TypeK at 490C = 20.218mV' + // @Test='@test tinyTester.blink_time_msec = 20 // quickly speed through the software verification' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.000e-3) expect 0.0 within 0.1 // TC_TypeK at 0C = 0.000mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.039e-3) expect 1.0 within 0.1 // TC_TypeK at 1C = 0.039mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.079e-3) expect 2.0 within 0.1 // TC_TypeK at 2C = 0.079mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.119e-3) expect 3.0 within 0.1 // TC_TypeK at 3C = 0.119mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.158e-3) expect 4.0 within 0.1 // TC_TypeK at 4C = 0.158mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.198e-3) expect 5.0 within 0.1 // TC_TypeK at 5C = 0.198mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.238e-3) expect 6.0 within 0.1 // TC_TypeK at 6C = 0.238mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.2775e-3) expect 7.0 within 0.1 // TC_TypeK at 7C = 0.2775mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.317e-3) expect 8.0 within 0.1 // TC_TypeK at 8C = 0.317mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(0.357e-3) expect 9.0 within 0.1 // TC_TypeK at 9C = 0.357mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.397e-3) expect 10.0 within 0.1 // TC_TypeK at 10C = 0.397mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(0.798e-3) expect 20.0 within 0.1 // TC_TypeK at 20C = 0.798mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.081e-3) expect 27.0 within 0.1 // TC_TypeK at 27C = 1.081mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.203e-3) expect 30.0 within 0.1 // TC_TypeK at 30C = 1.203mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(1.612e-3) expect 40.0 within 0.1 // TC_TypeK at 40C = 1.612mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.023e-3) expect 50.0 within 0.1 // TC_TypeK at 50C = 2.023mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.436e-3) expect 60.0 within 0.1 // TC_TypeK at 60C = 2.436mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(2.851e-3) expect 70.0 within 0.1 // TC_TypeK at 70C = 2.851mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(3.267e-3) expect 80.0 within 0.1 // TC_TypeK at 80C = 3.267mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(3.682e-3) expect 90.0 within 0.1 // TC_TypeK at 90C = 3.682mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(4.096e-3) expect 100.0 within 0.1 // TC_TypeK at 100C = 4.096mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(4.509e-3) expect 110.0 within 0.1 // TC_TypeK at 110C = 4.509mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(4.920e-3) expect 120.0 within 0.1 // TC_TypeK at 120C = 4.920mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(5.328e-3) expect 130.0 within 0.1 // TC_TypeK at 130C = 5.328mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(5.735e-3) expect 140.0 within 0.1 // TC_TypeK at 140C = 5.735mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.138e-3) expect 150.0 within 0.1 // TC_TypeK at 150C = 6.138mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.540e-3) expect 160.0 within 0.1 // TC_TypeK at 160C = 6.540mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(6.941e-3) expect 170.0 within 0.1 // TC_TypeK at 170C = 6.941mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(7.340e-3) expect 180.0 within 0.1 // TC_TypeK at 180C = 7.340mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(7.739e-3) expect 190.0 within 0.1 // TC_TypeK at 190C = 7.739mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.138e-3) expect 200.0 within 0.1 // TC_TypeK at 200C = 8.138mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.539e-3) expect 210.0 within 0.1 // TC_TypeK at 210C = 8.539mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(8.940e-3) expect 220.0 within 0.1 // TC_TypeK at 220C = 8.940mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(9.343e-3) expect 230.0 within 0.1 // TC_TypeK at 230C = 9.343mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(9.747e-3) expect 240.0 within 0.1 // TC_TypeK at 240C = 9.747mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.153e-3) expect 250.0 within 0.1 // TC_TypeK at 250C = 10.153mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.561e-3) expect 260.0 within 0.1 // TC_TypeK at 260C = 10.561mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(10.971e-3) expect 270.0 within 0.1 // TC_TypeK at 270C = 10.971mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(11.382e-3) expect 280.0 within 0.1 // TC_TypeK at 280C = 11.382mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(11.795e-3) expect 290.0 within 0.1 // TC_TypeK at 290C = 11.795mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(12.209e-3) expect 300.0 within 0.1 // TC_TypeK at 300C = 12.209mV' + // @Test='@test group TC_2 TemperatureOfTC_TypeK(14.293e-3) expect 350.0 within 0.1 // TC_TypeK at 350C = 14.293mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(16.397e-3) expect 400.0 within 0.1 // TC_TypeK at 400C = 16.397mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(18.516e-3) expect 450.0 within 0.1 // TC_TypeK at 450C = 18.516mV' + // @Test='@test group TC_1 TemperatureOfTC_TypeK(20.218e-3) expect 490.0 // TC_TypeK at 490C = 20.218mV' + // @Test='@test tinyTester.blink_time_msec = 75 // default 75 resume hardware self test' // parse argument list // argname default_argvalue numeric literal specified in CommandDocParamIn @Param[in]='@param[in] tc_voltage = Thermocouple voltage in volts, default=0.0254' // parse argument double tc_voltage