#unset INI_VERSION_2 ; this is set by TunerStudio, but needs to be unset for Megatune to work #unset SERIAL ; This is to use the serial port [MegaTune] MTversion = 2.25 ; MegaTune itself; needs to match exec version. #if SERIAL versionInfo = "S" ; Put this in the title bar. queryCommand = "Q" ; Verify against signature. #else versionInfo = "r\x05\x0e\x00\x00\x00\x3c" ; Put this in the title bar. queryCommand = "r\x05\x0f\x00\x00\x00\x14" ; Verify against signature. #endif signature = "IOExtender Rv0.0.12" ; I/O Extender sends a null at 20th byte. ; 123456789.123456789. ;------------------------------------------------------------------------------- [Constants] ;---------------------------------------------------------------------------- ; Constants Definition ; -------------------- ; ; Scalar Values ; ------------- ; The scaling and translation values are used as follows: ; msValue = userValue / scale - translate ; userValue = (msValue + translate) * scale ; ; I've got no good way to handle a few of these things yet. ; ; Temperatures are fine, check out the Fielding IAC example (fastIdleTemp). ; ; The TPS stuff is a problem, because we have to modify the ini file for ; each TPS installation and again whenever we move the TPS... I figured ; out a moderately palatable solution to presenting the frequency ; divider in the boost control values, turn it into a bit field and then ; enumerate the resulting frequencies. ; ; Array Values ; ------------ ; Arrays are specified just like scalars, except that they have a "shape" ; entry in the fourth parameter. The shape allows you to define lists or ; tables, for example [8] defines a list with eight values and [2x4] defines ; a table with eight values (two rows and four columns). Tables may be ; stored in either "X-" or "Y-order." X-order means that memory is layed ; out like. ; ; [x1,y1] [x2,y1]...[xn,y1] [x1,y2]... ; ; Y-order would be ; ; [x1,y1] [x1,y2]...[x1,yn] [x2,y1]... ; ; To use the TableEditor, you must define two lists and a table, and ; the lengths of the lists must correspond to the shape of the table. ; ; Bit Fields ; ---------- ; Bits are numbered 0-7, the rightmost being bit zero. The basic ; data word that stores bit fields must be unsigned. ; ; You need NOT supply the correct number of labels matching the ; number of bits you've specified (one bit requires 2 values, two ; bits requires 4 values and so on). If you neglect to supply enough ; labels, they will be synthesized using the sequence "1", "2" and so ; on based upon their position in the sequence (the cltType and matType ; will end up with identical lists). ; ;---------------------------------------------------------------------------- pageActivationDelay = 50 ; Milliseconds delay after burn command. blockReadTimeout = 100 ; Milliseconds total timeout for reading page. writeBlocks = off ; from Lance interWriteDelay = 5 ; 5 from Lance endianness = big nPages = 1 pageSize = 512 pageIdentifier = "\x05\x04" burnCommand = "b\x05\x04" pageReadCommand = "r\x05\x04%2o%2c" pageValueWrite = "w\x05\x04%2o%2c%v" ; pageChunkWrite = "w\x07\x04%2o%2c%v" - disable chunk write to attempt to force single byte writes only page = 1 ; name = class, type, offset, shape, units, scale, translate, lo, hi, digits adc_enable = bits, U08, 0, [0:0], "Disable", "Enable" ; * pwm_in_enable = bits, U08, 0, [1:1], "Disable", "Enable" ; * ports_enable = bits, U08, 0, [2:2], "Disable", "Enable" ; * pwm_out_enable = bits, U08, 0, [3:3], "Disable", "Enable" ; * timer_source1 = bits, U08, 1, [0:0], "Bus (24MHz)", "Constant (1MHz)" ; * timer_source2 = bits, U08, 1, [1:1], "Bus (24MHz)", "Constant (1MHz)" ; * timer_source3 = bits, U08, 1, [2:2], "Bus (24MHz)", "Constant (1MHz)" ; * timer_prescale1 = bits, U08, 2, [0:2], "1", "2", "4" ,"8", "16", "32", "64", "128" ; * timer_prescale2 = bits, U08, 3, [0:2], "1", "2", "4" ,"8", "16", "32", "64", "128" ; * timer_prescale3 = bits, U08, 4, [0:2], "1", "2", "4" ,"8", "16", "32", "64", "128" ; * pwm_freq_div1 = scalar, U08, 5, "", 1, 0, 0,255, 0 ; * pwm_freq_div2 = scalar, U08, 6, "", 1, 0, 0,255, 0 ; * pwm_freq_div3 = scalar, U08, 7, "", 1, 0, 0,255, 0 ; * adcsel1 = bits, U08, 8, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel2 = bits, U08, 9, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel3 = bits, U08, 10, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel4 = bits, U08, 11, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel5 = bits, U08, 12, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel6 = bits, U08, 13, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel7 = bits, U08, 14, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcsel8 = bits, U08, 15, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","CPU Temperature","Internal Bandgap","VREFH","INVALID","VREFL","INVALID" adcparam = bits, U08, 16, [0:1], "8 bits", "12 bits", "10 bits", "INVALID" ; * pwmsel1 = scalar, U08, 17, "Channel", 1, 0, 0, 12, 0 ; * pwmsel2 = scalar, U08, 18, "Channel", 1, 0, 0, 12, 0 ; * pwmsel3 = scalar, U08, 19, "Channel", 1, 0, 0, 12, 0 ; * pwmsel4 = scalar, U08, 20, "Channel", 1, 0, 0, 12, 0 ; * pwm_edge1 = bits, U08, 21, [0:0], "Rising", "Falling" ; * pwm_edge2 = bits, U08, 21, [1:1], "Rising", "Falling" ; * pwm_edge3 = bits, U08, 21, [2:2], "Rising", "Falling" ; * pwm_edge4 = bits, U08, 21, [3:3], "Rising", "Falling" ; * pwm_typ1 = bits, U08, 21, [4:4], "Interval", "Duty cycle" ; * pwm_typ2 = bits, U08, 21, [5:5], "Interval", "Duty cycle" ; * pwm_typ3 = bits, U08, 21, [6:6], "Interval", "Duty cycle" ; * pwm_typ4 = bits, U08, 21, [7:7], "Interval", "Duty cycle" ; * pwm_size = bits, U08, 22, [0:0], "16-bit counter", "32-bit counter" ; * pwm_reject1 = bits, U08, 22, [1:1], "Disable", "Enable" ; * pwm_reject2 = bits, U08, 22, [2:2], "Disable", "Enable" ; * pwm_reject3 = bits, U08, 22, [3:3], "Disable", "Enable" ; * pwm_reject4 = bits, U08, 22, [4:4], "Disable", "Enable" ; * pwm_stall1 = scalar, U16, 23, "", 1, 0, 0,32767, 0 ; * pwm_stall2 = scalar, U16, 25, "", 1, 0, 0,32767, 0 ; * pwm_stall3 = scalar, U16, 27, "", 1, 0, 0,32767, 0 ; * pwm_stall4 = scalar, U16, 29, "", 1, 0, 0,32767, 0 ; * port_dir1 = bits, U08, 31, [0:0], "Input", "Output" ; * port_dir2 = bits, U08, 31, [1:1], "Input", "Output" ; * port_dir3 = bits, U08, 31, [2:2], "Input", "Output" ; * port_type1 = bits, U08, 31, [3:3], "Digital (8 signals)", "Single value (PWM output)" ; * port_type2 = bits, U08, 31, [4:4], "Digital (8 signals)", "Single value (PWM output)" ; * port_type3 = bits, U08, 31, [5:5], "Digital (8 signals)", "Single value (PWM output)" ; * port1sel1 = bits, U08, 32, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel2 = bits, U08, 33, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel3 = bits, U08, 34, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel4 = bits, U08, 35, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel5 = bits, U08, 36, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel6 = bits, U08, 37, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel7 = bits, U08, 38, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port1sel8 = bits, U08, 39, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel1 = bits, U08, 40, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel2 = bits, U08, 41, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel3 = bits, U08, 42, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel4 = bits, U08, 43, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel5 = bits, U08, 44, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel6 = bits, U08, 45, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel7 = bits, U08, 46, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port2sel8 = bits, U08, 47, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel1 = bits, U08, 48, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel2 = bits, U08, 49, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel3 = bits, U08, 50, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel4 = bits, U08, 51, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel5 = bits, U08, 52, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel6 = bits, U08, 53, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel7 = bits, U08, 54, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" port3sel8 = bits, U08, 55, [0:6],"Unassigned","PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" ; port1sel1 = scalar, U08, 23, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel2 = scalar, U08, 24, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel3 = scalar, U08, 25, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel4 = scalar, U08, 26, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel5 = scalar, U08, 27, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel6 = scalar, U08, 28, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel7 = scalar, U08, 29, "Port #", 1, 0, 0, 99, 0 ; * ; port1sel8 = scalar, U08, 30, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel1 = scalar, U08, 31, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel2 = scalar, U08, 32, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel3 = scalar, U08, 33, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel4 = scalar, U08, 34, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel5 = scalar, U08, 35, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel6 = scalar, U08, 36, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel7 = scalar, U08, 37, "Port #", 1, 0, 0, 99, 0 ; * ; port2sel8 = scalar, U08, 38, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel1 = scalar, U08, 39, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel2 = scalar, U08, 40, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel3 = scalar, U08, 41, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel4 = scalar, U08, 42, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel5 = scalar, U08, 43, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel6 = scalar, U08, 44, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel7 = scalar, U08, 45, "Port #", 1, 0, 0, 99, 0 ; * ; port3sel8 = scalar, U08, 46, "Port #", 1, 0, 0, 99, 0 ; * ad0active = bits, U08, 56, [0:0], "Disabled", "Active" ; * ad1active = bits, U08, 56, [1:1], "Disabled", "Active" ; * ad2active = bits, U08, 56, [2:2], "Disabled", "Active" ; * ad3active = bits, U08, 56, [3:3], "Disabled", "Active" ; * ad4active = bits, U08, 56, [4:4], "Disabled", "Active" ; * ad5active = bits, U08, 56, [5:5], "Disabled", "Active" ; * ad6active = bits, U08, 56, [6:6], "Disabled", "Active" ; * ad7active = bits, U08, 56, [7:7], "Disabled", "Active" ; * ad8active = bits, U08, 57, [0:0], "Disabled", "Active" ; * ad9active = bits, U08, 57, [1:1], "Disabled", "Active" ; * ad10active = bits, U08, 57, [2:2], "Disabled", "Active" ; * ad11active = bits, U08, 57, [3:3], "Disabled", "Active" ; * ad12active = bits, U08, 57, [4:4], "Disabled", "Active" ; * ad13active = bits, U08, 57, [5:5], "Disabled", "Active" ; * ad14active = bits, U08, 57, [6:6], "Disabled", "Active" ; * ad15active = bits, U08, 57, [7:7], "Disabled", "Active" ; * ad16active = bits, U08, 58, [0:0], "Disabled", "Active" ; * ad17active = bits, U08, 58, [1:1], "Disabled", "Active" ; * ad18active = bits, U08, 58, [2:2], "Disabled", "Active" ; * ad19active = bits, U08, 58, [3:3], "Disabled", "Active" ; * ad20active = bits, U08, 58, [4:4], "Disabled", "Active" ; * ad21active = bits, U08, 58, [5:5], "Disabled", "Active" ; * ad22active = bits, U08, 58, [6:6], "Disabled", "Active" ; * ad23active = bits, U08, 58, [7:7], "Disabled", "Active" ; * ; Logger+ config ; name = class, type, offset, shape, units, scale, translate, lo, hi, digits acc_active = bits, U08, 59, [0:0], "Sleep", "Active" ; * acc_grange = bits, U08, 59, [1:1], "1.5g", "6g" ; * acc_0gdetect = bits, U08, 59, [2:2], "Disabled", "Enabled" ; * acc_selftest = bits, U08, 59, [3:3], "Disabled", "Enabled" ; * rtc_enable = bits, U08, 60, [0:0], "Disabled", "Enabled" ; * rtc_century = scalar, U08, 61, "x100 years", 1, 0,20, 99, 0 ; * gps_enable = bits, U08, 62, [0:0], "Disabled", "Enabled" ; * serial1_baud = bits, U08, 63, [0:2], "9600", "19200", "38400", "57600", "115200", "INVALID", "INVALID", "INVALID" serial2_baud = bits, U08, 63, [3:5], "9600", "19200", "38400", "57600", "115200", "INVALID", "INVALID", "INVALID" passthrough = bits, U08, 63, [6:6], "Disabled", "Enabled" ; * passthroughswitch = bits, U08, 63, [7:7], "Disabled", "Enabled" ; * passthroughport = bits, U08, 64, [0:6], "PTA0","PTA1","PTA2","PTA3","PTA4","PTA5","PTA6","PTA7","PTB0","PTB1","PTB2","PTB3","PTB4","PTB5","PTB6","PTB7","PTC0","PTC1","PTC2","PTC3","PTC4","PTC5","PTC6","PTC7","PTD0","PTD1","PTD2","PTD3","PTD4","PTD5","PTD6","PTD7","INVALID","INVALID","PTE2","PTE3","PTE4","PTE5","INVALID","INVALID","PTF0","PTF1","PTF2","PTF3","PTF4","PTF5","PTF6","PTF7","INVALID","INVALID","PTG2","PTG3","PTG4","PTG5","PTG6","PTG7","PTH0","PTH1","PTH2","PTH3","PTH4","PTH5","PTH6","PTH7","PTJ0","PTJ1","PTJ2","PTJ3","PTJ4","PTJ5","PTJ6","PTJ7","PTK0","PTK1","PTK2","PTK3","PTK4","PTK5","PTK6","PTK7","PTL0","PTL1","PTL2","PTL3","PTL4","PTL5","PTL6","PTL7" ; Lag factors ; name = class, type, offset, shape, units, scale, translate, lo, hi, digits ad0lag = scalar, U08, 65, "", 0.78125, 0,10,100, 0 ; * ad1lag = scalar, U08, 66, "", 0.78125, 0,10,100, 0 ; * ad2lag = scalar, U08, 67, "", 0.78125, 0,10,100, 0 ; * ad3lag = scalar, U08, 68, "", 0.78125, 0,10,100, 0 ; * ad4lag = scalar, U08, 69, "", 0.78125, 0,10,100, 0 ; * ad5lag = scalar, U08, 70, "", 0.78125, 0,10,100, 0 ; * ad6lag = scalar, U08, 71, "", 0.78125, 0,10,100, 0 ; * ad7lag = scalar, U08, 72, "", 0.78125, 0,10,100, 0 ; * ad8lag = scalar, U08, 73, "", 0.78125, 0,10,100, 0 ; * ad9lag = scalar, U08, 74, "", 0.78125, 0,10,100, 0 ; * ad10lag = scalar, U08, 75, "", 0.78125, 0,10,100, 0 ; * ad11lag = scalar, U08, 76, "", 0.78125, 0,10,100, 0 ; * ad12lag = scalar, U08, 77, "", 0.78125, 0,10,100, 0 ; * ad13lag = scalar, U08, 78, "", 0.78125, 0,10,100, 0 ; * ad14lag = scalar, U08, 79, "", 0.78125, 0,10,100, 0 ; * ad15lag = scalar, U08, 80, "", 0.78125, 0,10,100, 0 ; * ad16lag = scalar, U08, 81, "", 0.78125, 0,10,100, 0 ; * ad17lag = scalar, U08, 82, "", 0.78125, 0,10,100, 0 ; * ad18lag = scalar, U08, 83, "", 0.78125, 0,10,100, 0 ; * ad19lag = scalar, U08, 84, "", 0.78125, 0,10,100, 0 ; * ad20lag = scalar, U08, 85, "", 0.78125, 0,10,100, 0 ; * ad21lag = scalar, U08, 86, "", 0.78125, 0,10,100, 0 ; * ad22lag = scalar, U08, 87, "", 0.78125, 0,10,100, 0 ; * ad23lag = scalar, U08, 88, "", 0.78125, 0,10,100, 0 ; * pwm1lag = scalar, U08, 89, "", 0.78125, 0,10,100, 0 ; * pwm2lag = scalar, U08, 90, "", 0.78125, 0,10,100, 0 ; * pwm3lag = scalar, U08, 91, "", 0.78125, 0,10,100, 0 ; * pwm4lag = scalar, U08, 92, "", 0.78125, 0,10,100, 0 ; * pwmoutsize1 = bits, U08, 93, [0:0], "8-bit", "16-bit" pwmoutsize2 = bits, U08, 93, [1:1], "8-bit", "16-bit" pwmoutsel1 = bits, U08, 94, [0:0], "Disabled", "Enabled" ; * pwmoutsel2 = bits, U08, 94, [1:1], "Disabled", "Enabled" ; * pwmoutsel3 = bits, U08, 94, [2:2], "Disabled", "Enabled" ; * pwmoutsel4 = bits, U08, 94, [3:3], "Disabled", "Enabled" ; * pwmoutsel5 = bits, U08, 94, [4:4], "Disabled", "Enabled" ; * pwmoutsel6 = bits, U08, 94, [5:5], "Disabled", "Enabled" ; * pwmoutsel7 = bits, U08, 94, [6:6], "Disabled", "Enabled" ; * pwmoutsel8 = bits, U08, 94, [7:7], "Disabled", "Enabled" ; * pwmoutrmt1 = bits, U08, 95, [0:0], "Local", "Remote" ; * pwmoutrmt2 = bits, U08, 95, [1:1], "Local", "Remote" ; * pwmoutrmt3 = bits, U08, 95, [2:2], "Local", "Remote" ; * pwmoutrmt4 = bits, U08, 95, [3:3], "Local", "Remote" ; * pwmoutrmt5 = bits, U08, 95, [4:4], "Local", "Remote" ; * pwmoutrmt6 = bits, U08, 95, [5:5], "Local", "Remote" ; * pwmoutrmt7 = bits, U08, 95, [6:6], "Local", "Remote" ; * pwmoutrmt8 = bits, U08, 95, [7:7], "Local", "Remote" ; * pwmoutmod1 = scalar, U16, 96, "", 1, 0, 0, 65535, 0 ; * pwmoutmod2 = scalar, U16, 98, "", 1, 0, 0, 65535, 0 ; * auxconfig = bits, U08, 100, [0:1], "Disabled", "Enable LC-1 reading from serial port 2", "Enable SLC reading from IIC port 2", "Enable PLX reading from serial port 2"; * afrdefault = scalar, U16, 101, "", 0.0147, 500, 7.35, 22.39, 2 ; * slcnbsensors = bits, U08, 103, [0:2], "1", "2", "3", "4", "5", "6", "7", "8" ; * ms2afrovr = bits, U08, 104, [0:0], "Disabled", "Enabled" ; * nbafrovr = bits, U08, 104, [1:3], "1", "2", "3", "4", "5", "6", "7", "8" ; * mapping_cfg = bits, U08, 105, [0:0], "Disabled", "Enabled" ; * adc_map0 = bits, U08, 106, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map1 = bits, U08, 107, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map2 = bits, U08, 108, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map3 = bits, U08, 109, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map4 = bits, U08, 110, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map5 = bits, U08, 111, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map6 = bits, U08, 112, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map7 = bits, U08, 113, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map8 = bits, U08, 114, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map9 = bits, U08, 115, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map10 = bits, U08, 116, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map11 = bits, U08, 117, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map12 = bits, U08, 118, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map13 = bits, U08, 119, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map14 = bits, U08, 120, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map15 = bits, U08, 121, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map16 = bits, U08, 122, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map17 = bits, U08, 123, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map18 = bits, U08, 124, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map19 = bits, U08, 125, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map20 = bits, U08, 126, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map21 = bits, U08, 127, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map22 = bits, U08, 128, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" adc_map23 = bits, U08, 129, [0:4],"AD0","AD1","AD2","AD3","AD4","AD5","AD6","AD7","AD8","AD9","AD10","AD11","AD12","AD13","AD14","AD15","AD16","AD17","AD18","AD19","AD20", "AD21","AD22","AD23","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ; [Menu] ;---------------------------------------------------------------------------- ; There are five pre-defined values that may be used to define your menus. ; The first four allow access to the "standard" dialog boxes, the last one ; merely draws a separator (horizontal line) in the menu. ; ; std_constants ; std_enrichments ; std_realtime ; std_warmup ; std_accel ; ; std_separator ; ; Additionally, to support MegaSquirt-II firmware, there are two standard ; dialogs to generate its three embedded tables. The first of these acts ; like Roger Enns' EasyTherm, but only works for MS-II. The second one ; generates the internal AFR table required for proper closed loop operation ; in MS-II. Use these without page numbers, as they will just be ignored ; in any case. ; ; std_ms2gentherm ; std_ms2geno2 ; ; If you use any of the std_constants, std_enrichments or std_warmup ; editors, they may be optionally suffixed with a page number (only ; useful for multi-page code variants), which causes them to edit the ; specified page. If you leave off the page specifier, they edit logical ; page one as specified in the Constants section. ; ; There are four special menu names, which when used append to the standard ; menus of the same name instead of creating a new one. The menu names ; are "File", "Communications", "Tools" and "Help". ; ;---------------------------------------------------------------------------- menuDialog = main menu = "IO Extender setup" subMenu = base_settings, "Base settings" subMenu = adc_settings, "ADC settings", 0, { adc_enable } subMenu = pwm_in_settings, "PWM Input settings", 0, { pwm_in_enable } subMenu = ports_settings, "Ports settings", 0, { ports_enable } subMenu = adc_activation, "ADC channels activation " subMenu = pwm_out_settings, "PWM Output settings", 0, { pwm_out_enable } menu = "IO Extender Logger+" subMenu = serial_settings,"Serial ports settings" subMenu = acc_settings, "Accelerometer settings" subMenu = rtc_settings, "Real-Time Clock (RTC) settings" subMenu = gps_settings, "GPS module settings" subMenu = aux_settings, "Auxiliary data settings" menu = "Data" subMenu = std_realtime, "Realtime Display" ;------------------------------------------------------------------------------- [UserDefined] dialog = base_settings, "Base Settings" field = "Enable features" field = "ADC", adc_enable field = "PWM Inputs", pwm_in_enable field = "Digital I/Os", ports_enable field = "PWM Outputs", pwm_out_enable field = "Timer 1 source", timer_source1 field = "Timer 1 prescale", timer_prescale1 field = "Timer 1 PWM frequency divider", pwm_freq_div1 field = "Timer 2 source", timer_source2 field = "Timer 2 prescale", timer_prescale2 field = "Timer 2 PWM frequency divider", pwm_freq_div2 field = "Timer 3 source", timer_source3 field = "Timer 3 prescale", timer_prescale3 field = "Timer 3 PWM frequency divider", pwm_freq_div3 field = "!Power cycle after a change" dialog = adc_mapping07, "Mapping ADC Channels 0-7", yAxis field = "ADC Channel 0", adc_map0 field = "ADC Channel 1", adc_map1 field = "ADC Channel 2", adc_map2 field = "ADC Channel 3", adc_map3 field = "ADC Channel 4", adc_map4 field = "ADC Channel 5", adc_map5 field = "ADC Channel 6", adc_map6 field = "ADC Channel 7", adc_map7 dialog = adc_mapping815, "Mapping ADC Channels 8-15", yAxis field = "ADC Channel 8", adc_map8 field = "ADC Channel 9", adc_map9 field = "ADC Channel 10", adc_map10 field = "ADC Channel 11", adc_map11 field = "ADC Channel 12", adc_map12 field = "ADC Channel 13", adc_map13 field = "ADC Channel 14", adc_map14 field = "ADC Channel 15", adc_map15 dialog = adc_mapping1623, "Mapping ADC Channels 16-23", yAxis field = "ADC Channel 16", adc_map16 field = "ADC Channel 17", adc_map17 field = "ADC Channel 18", adc_map18 field = "ADC Channel 19", adc_map19 field = "ADC Channel 20", adc_map20 field = "ADC Channel 21", adc_map21 field = "ADC Channel 22", adc_map22 field = "ADC Channel 23", adc_map23 dialog = adc_resolution, "", xAxis field = "ADC resolution", adcparam field = "ADC Mapping different from default", mapping_cfg dialog = adc_mappings, "ADC Mappings", xAxis panel = adc_mapping07 panel = adc_mapping815 panel = adc_mapping1623 dialog = adc_settings, "ADC Settings", border panel = adc_resolution, North panel = adc_mappings, South, { mapping_cfg } ; dialog = adc_settings, "ADC Settings" ; field = "Select ADC channel" ; field = "ADC 1", adcsel1, { 0 } ; field = "ADC 2", adcsel2, { 0 } ; field = "ADC 3", adcsel3, { 0 } ; field = "ADC 4", adcsel4, { 0 } ; field = "ADC 5", adcsel5, { 0 } ; field = "ADC 6", adcsel6, { 0 } ; field = "ADC 7", adcsel7, { 0 } ; field = "ADC 8", adcsel8, { 0 } ; field = "ADC resolution", adcparam dialog = pwm_in_settings, "PWM Input Settings" field = "PWM timer", pwm_size field = "PWM 1" ; field = "Channel select", pwmsel1, { 0 } ; field = "Capture edge", pwm_edge1, { 0 } ; field = "Data type", pwm_typ1, { 0 } field = "Stall threshold", pwm_stall1, { pwm_size } field = "Lag factor", pwm1lag field = "False trigger protection", pwm_reject1 field = "PWM 2" ; field = "Channel select", pwmsel2, { 0 } ; field = "Capture edge", pwm_edge2, { 0 } ; field = "Data type", pwm_typ2, { 0 } field = "Stall threshold", pwm_stall2, { pwm_size } field = "Lag factor", pwm2lag field = "False trigger protection", pwm_reject2 field = "PWM 3" ; field = "Channel select", pwmsel3, { 0 } ; field = "Capture edge", pwm_edge3, { 0 } ; field = "Data type", pwm_typ3, { 0 } field = "Stall threshold", pwm_stall3, { pwm_size } field = "Lag factor", pwm3lag field = "False trigger protection", pwm_reject3 field = "PWM 4" ; field = "Channel select", pwmsel4, { 0 } ; field = "Capture edge", pwm_edge4, { 0 } ; field = "Data type", pwm_typ4, { 0 } field = "Stall threshold", pwm_stall4, { pwm_size } field = "Lag factor", pwm4lag field = "False trigger protection", pwm_reject4 dialog = port1_settings, "Port 1", yAxis field = "Port 1 direction", port_dir1 field = "Port 1 type", port_type1 field = "Channel 1 select", port1sel1 field = "Channel 2 select", port1sel2, { !port_type1 } field = "Channel 3 select", port1sel3, { !port_type1 } field = "Channel 4 select", port1sel4, { !port_type1 } field = "Channel 5 select", port1sel5, { !port_type1 } field = "Channel 6 select", port1sel6, { !port_type1 } field = "Channel 7 select", port1sel7, { !port_type1 } field = "Channel 8 select", port1sel8, { !port_type1 } dialog = port2_settings, "Port 2", yAxis field = "Port 2 direction", port_dir2 field = "Port 2 type", port_type2 field = "Channel 1 select", port2sel1 field = "Channel 2 select", port2sel2, { !port_type2 } field = "Channel 3 select", port2sel3, { !port_type2 } field = "Channel 4 select", port2sel4, { !port_type2 } field = "Channel 5 select", port2sel5, { !port_type2 } field = "Channel 6 select", port2sel6, { !port_type2 } field = "Channel 7 select", port2sel7, { !port_type2 } field = "Channel 8 select", port2sel8, { !port_type2 } dialog = port3_settings, "Port 3", yAxis field = "Port 3 direction", port_dir3 field = "Port 3 type", port_type3 field = "Channel 1 select", port3sel1 field = "Channel 2 select", port3sel2, { !port_type3 } field = "Channel 3 select", port3sel3, { !port_type3 } field = "Channel 4 select", port3sel4, { !port_type3 } field = "Channel 5 select", port3sel5, { !port_type3 } field = "Channel 6 select", port3sel6, { !port_type3 } field = "Channel 7 select", port3sel7, { !port_type3 } field = "Channel 8 select", port3sel8, { !port_type3 } dialog =ports_settings, "Ports settings", xAxis panel = port1_settings panel = port2_settings panel = port3_settings dialog = adc_07, "", yAxis field = "Activate" field = "ADC Channel 0", ad0active field = "ADC Channel 1", ad1active field = "ADC Channel 2", ad2active field = "ADC Channel 3", ad3active field = "ADC Channel 4", ad4active field = "ADC Channel 5", ad5active field = "ADC Channel 6", ad6active field = "ADC Channel 7", ad7active dialog = adclag_07, "", yAxis field = "Lag Factor" field = "", ad0lag field = "", ad1lag field = "", ad2lag field = "", ad3lag field = "", ad4lag field = "", ad5lag field = "", ad6lag field = "", ad7lag dialog = adc_chan07, "Channels 0-7", xAxis panel = adc_07 panel = adclag_07 dialog = adc_816, "", yAxis field = "Activate" field = "ADC Channel 8 (EGT 0)", ad8active field = "ADC Channel 9 (EGT 1)", ad9active field = "ADC Channel 10 (EGT 2)", ad10active field = "ADC Channel 11 (EGT 3)", ad11active field = "ADC Channel 12 (EGT 4)", ad12active field = "ADC Channel 13 (EGT 5)", ad13active field = "ADC Channel 14 (EGT 6)", ad14active field = "ADC Channel 15 (EGT 7)", ad15active field = "ADC Channel 16 (Batt. 12V)", ad16active dialog = adclag_816, "", yAxis field = "Lag Factor" field = "", ad8lag field = "", ad9lag field = "", ad10lag field = "", ad11lag field = "", ad12lag field = "", ad13lag field = "", ad14lag field = "", ad15lag field = "", ad16lag dialog = adc_chan816, "Channels 8-15 (EGTs 0-7) & Batt V.", xAxis panel = adc_816 panel = adclag_816 dialog = adc_generic, "Generic ADCs", border panel = adc_chan07, West panel = adc_chan816, East dialog = adc_1720, "", yAxis field = "Activate" field = "ADC Channel 17 (acc. X)", ad17active field = "ADC Channel 18 (acc. Y)", ad18active field = "ADC Channel 19 (acc. Z)", ad19active field = "ADC Channel 20 (3.3V ref))", ad20active dialog = adclag_1720, "", yAxis field = "Lag Factor" field = "", ad17lag field = "", ad18lag field = "", ad19lag field = "", ad20lag dialog = adc_chan1720, "3-Axis Accelerometer / 3.3V ref.", xAxis panel = adc_1720 panel = adclag_1720 dialog = adc_2123, "", yAxis field = "Activate" field = "ADC Channel 21", ad21active field = "ADC Channel 22", ad22active field = "ADC Channel 23", ad23active dialog = adclag_2123, "", yAxis field = "Lag Factor" field = "", ad21lag field = "", ad22lag field = "", ad23lag dialog = adc_chan2123, "Channels 21-23 (Spares)", xAxis panel = adc_2123 panel = adclag_2123 dialog = adc_channels, "Additional ADC channels", border panel = adc_chan1720, West panel = adc_chan2123, East dialog = adc_activation, "ADC Activation", border panel = adc_generic, North panel = adc_channels, South dialog = pwm_outputs, "PWM Outputs", yAxis field = "1 (Timer 2 Channel 0 (PTD0))", pwmoutsel1 field = "2 (Timer 2 Channel 1 (PTD1))", pwmoutsel2 field = "3 (Timer 1 Channel 0 (PTD2))", pwmoutsel3 field = "4 (Timer 1 Channel 1 (PTD3))", pwmoutsel4 field = "5 (Timer 1 Channel 2 (PTD4))", pwmoutsel5 field = "6 (Timer 1 Channel 3 (PTD5))", pwmoutsel6 field = "7 (Timer 1 Channel 4 (PTD6))", pwmoutsel7 field = "8 (Timer 1 Channel 5 (PTD7))", pwmoutsel8 dialog = pwm_out_control, "PWM Control" field = "", pwmoutrmt1 field = "", pwmoutrmt2 field = "", pwmoutrmt3 field = "", pwmoutrmt4 field = "", pwmoutrmt5 field = "", pwmoutrmt6 field = "", pwmoutrmt7 field = "", pwmoutrmt8 dialog = pwm_out_cfg, "", xAxis panel = pwm_outputs panel = pwm_out_control dialog = pwm_out_generic1, "Timer 1", yAxis field = "Duty cycle size", pwmoutsize1 field = "Counter Modulo", pwmoutmod1, { pwmoutsize1 } dialog = pwm_out_generic2, "Timer 2", yAxis field = "Duty cycle size", pwmoutsize2 field = "Counter Modulo", pwmoutmod2, { pwmoutsize2 } dialog = pwm_out_generic, "", xAxis panel = pwm_out_generic1 panel = pwm_out_generic2 dialog = pwm_out_settings, "PWM Output Settings" panel = pwm_out_generic, North panel = pwm_out_cfg, South dialog = serial_settings, "Serial ports settings" field = "Serial port 1 (USB) Baud rate", serial1_baud field = "Serial port 2 (GPS/LC-1) Baud rate", serial2_baud field = "Serial port pass through", passthrough field = "Pass through switch", passthroughswitch, { passthrough } field = "Pass through switch port", passthroughport, { passthroughswitch } dialog = acc_settings, "Accelerometer Settings" field = "Activate accelerometer", acc_active field = "Select accelerometer range", acc_grange field = "Enable 0g detection", acc_0gdetect field = "Enable selftest", acc_selftest dialog = rtc_settings, "Real-Time Clock (RTC) settings" field = "Enable RTC", rtc_enable field = "RTC century", rtc_century, { rtc_enable } dialog = gps_settings, "GPS module settings" field = "Enable GPS", gps_enable dialog = aux_settings, "Auxiliary data settings" field = "Auxiliary data configuration", auxconfig field = "Default AFR value in case of error", afrdefault, { (auxconfig == 1) || (auxconfig == 2) } field = "Number of SLCs used", slcnbsensors, { auxconfig == 2 } field = "Overwriting of ADC inputs with AFR data for MS2/Extra", ms2afrovr, { auxconfig } field = "Number of overwritten values", nbafrovr, { auxconfig && ms2afrovr } ;;------------------------------------------------------------------------------- [CurveEditor] ;------------------------------------------------------------------------------- [GaugeConfigurations] ;------------------------------------------------------------------------------- ; Notes on some of the gauges. ; ; The accelEnrichGauge is now a composite of both acceleration enrichment ; and deceleration enleanment numbers. See the definition of the variable ; accDecEnrich in the OutputChannels section. ; ; David Hooke contributed the lambda gauge and associated transfer ; function files. ; ; The lambda gauge is the best way (my opinion) to report data from a ; wide band EGO gauge, it standardizes the output irrespective of fuel ; or mix of fuels, so you needn't do any brainwork to know if your 75% ; gasoline and 25% methanol is rich at 10:1 or not. ; ; Use the file WBlambda100AVR.inc, if using a standard ADC (e.g., AVR cpu). ; Use the file WBlambda100MOT.inc, if using a biased ADC (e.g., MOT cpu). ;------------------------------------------------------------------------------- ; Define a gauge's characteristics here, then go to a specific layout ; block (Tuning or FrontPage) and use the name you've defined here to ; display that gauge in a particular position. ; ; Name = Case-sensitive, user-defined name for this gauge configuration. ; Var = Case-sensitive name of variable to be displayed, see the ; OutputChannels block in this file for possible values. ; Title = Title displayed at the top of the gauge. ; Units = Units displayed below value on gauge. ; Lo = Lower scale limit of gauge. ; Hi = Upper scale limit of gauge. ; LoD = Lower limit at which danger color is used for gauge background. ; LoW = Lower limit at which warning color is used. ; HiW = Upper limit at which warning color is used. ; HiD = Upper limit at which danger color is used. ; vd = Decimal places in displayed value ; ld = Label decimal places for display of Lo and Hi, above. ;Name Var Title Units Lo Hi LoD LoW HiW HiD vd ld clockGauge = seconds, "Clock", "Seconds", 0, 255, 10, 10, 245, 245, 0, 0 ;Name Var Title Units Lo Hi LoD LoW HiW HiD vd ld pwm1Gauge = pwm1, "pwm1", "raw", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwm2Gauge = pwm2, "pwm2", "raw", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwm3Gauge = pwm3, "pwm3", "raw", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwm4Gauge = pwm4, "pwm4", "raw", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwmstalledGauge = pwm_stalled, "pwm stalled","raw", 0, 255, -1, -1, 256, 256, 0, 0 pwm1CountGaugeL = pwm1_countL, "pwm1 count L", "raw", 0, 999999, -1, -1, 1000000, 1000000, 0, 0 pwm1CountGaugeH = pwm1_countH, "pwm1 count H", "raw", 0, 4999, -1, -1, 5000, 5000, 0, 0 pwm2CountGaugeL = pwm2_countL, "pwm2 count L", "raw", 0, 999999, -1, -1, 1000000, 1000000, 0, 0 pwm2CountGaugeH = pwm2_countH, "pwm2 count H", "raw", 0, 4999, -1, -1, 5000, 5000, 0, 0 pwm3CountGaugeL = pwm3_countL, "pwm3 count L", "raw", 0, 999999, -1, -1, 1000000, 1000000, 0, 0 pwm3CountGaugeH = pwm3_countH, "pwm3 count H", "raw", 0, 4999, -1, -1, 5000, 5000, 0, 0 pwm4CountGaugeL = pwm4_countL, "pwm4 count L", "raw", 0, 999999, -1, -1, 1000000, 1000000, 0, 0 pwm4CountGaugeH = pwm4_countH, "pwm4 count H", "raw", 0, 4999, -1, -1, 5000, 5000, 0, 0 port1Gauge = port1, "port1", "raw", 0, 255, -1, -1, 256, 256, 0, 0 port2Gauge = port2, "port2", "raw", 0, 255, -1, -1, 256, 256, 0, 0 port3Gauge = port3, "port3", "raw", 0, 255, -1, -1, 256, 256, 0, 0 ad0Gauge = ad0, "AD0", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad1Gauge = ad1, "AD1", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad2Gauge = ad2, "AD2", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad3Gauge = ad3, "AD3", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad4Gauge = ad4, "AD4", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad5Gauge = ad5, "AD5", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad6Gauge = ad6, "AD6", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad7Gauge = ad7, "AD7", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad8Gauge = ad8, "AD8", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad9Gauge = ad9, "AD9", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad10Gauge = ad10, "AD10", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad11Gauge = ad11, "AD11", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad12Gauge = ad12, "AD12", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad13Gauge = ad13, "AD13", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad14Gauge = ad14, "AD14", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad15Gauge = ad15, "AD15", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad16Gauge = ad16, "AD16", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad17Gauge = ad17, "AD17", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad18Gauge = ad18, "AD18", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad19Gauge = ad19, "AD19", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad20Gauge = ad20, "AD20", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad21Gauge = ad21, "AD21", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad22Gauge = ad22, "AD22", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad23Gauge = ad23, "AD23", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad26Gauge = ad26, "AD26", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 ad27Gauge = ad27, "AD27", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 vrefhrawGauge = vrefhraw, "VREFH_RAW", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 vreflrawGauge = vreflraw, "VREFL_RAW", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 #if INI_VERSION_2 pwmfreq1Gauge = pwm_freq1, "PWM Freq1", "Hz", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwmfreq2Gauge = pwm_freq2, "PWM Freq2", "Hz", 0, 65535, -1, -1, 65536, 65536, 0, 0 pwmfreq3Gauge = pwm_freq3, "PWM Freq3", "Hz", 0, 65535, -1, -1, 65536, 65536, 0, 0 #endif ; Logger+ gauges maxcountGauge = max_count, "Count", "raw", 0, 4095, -1, -1, 4097, 4097, 0, 0 vrefhGauge = vrefh, "VREFH", "V", 0, 5, -1, -1, 6, 6, 2, 1 battGauge = batt_volt, "BattV", "V", 0, 15, -1, -1, 16, 16, 2, 1 v33Gauge = volt3_3, "V3_3", "V", 0, 5, -1, -1, 6, 6, 2, 1 accxGauge = accx, "ACC_X", "g", -2, 2, -3, -3, 3, 3, 3, 1 accyGauge = accy, "ACC_Y", "g", -2, 2, -3, -3, 3, 3, 3, 1 acczGauge = accz, "ACC_Z", "g", -2, 2, -3, -3, 3, 3, 3, 1 rtc_secGauge = rtc_sec, "RTC_Sec", "s", 0, 60, -1, -1, 60, 60, 0, 0 rtc_minGauge = rtc_min, "RTC_Min", "m", 0, 60, -1, -1, 60, 60, 0, 0 rtc_hourGauge = rtc_hour, "RTC_Hour", "h", 0, 23, -1, -1, 24, 24, 0, 0 rtc_dayGauge = rtc_day, "RTC_Day", "d", 1, 7, -1, -1, 8, 8, 0, 0 rtc_dateGauge = rtc_date, "RTC_Date", "D", 1, 31, -1, -1, 32, 32, 0, 0 rtc_monthGauge = rtc_month, "RTC_Month", "M", 1, 12, -1, -1, 13, 13, 0, 0 rtc_yearGauge = rtc_year, "RTC_Year", "Y", 2000, 2020, -1, -1, 2100, 2100, 0, 0 gps_secGauge = gps_seconds, "GPS_Sec", "s", 0, 60, -1, -1, 60, 60, 0, 0 gps_minGauge = gps_min, "GPS_Min", "m", 0, 60, -1, -1, 60, 60, 0, 0 gps_hourGauge = gps_hour, "GPS_Hour", "h", 0, 23, -1, -1, 24, 24, 0, 0 gps_dateGauge = gps_date, "GPS_Date", "D", 1, 31, -1, -1, 32, 32, 0, 0 gps_monthGauge = gps_month, "GPS_Month", "M", 1, 12, -1, -1, 13, 13, 0, 0 gps_yearGauge = gps_year, "GPS_Year", "Y", 00, 20, -1, -1, 100, 100, 0, 0 aux1Gauge = aux_data1, "Auxiliary data 1", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux2Gauge = aux_data2, "Auxiliary data 2", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux3Gauge = aux_data3, "Auxiliary data 3", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux4Gauge = aux_data4, "Auxiliary data 4", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux5Gauge = aux_data5, "Auxiliary data 5", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux6Gauge = aux_data6, "Auxiliary data 6", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux7Gauge = aux_data7, "Auxiliary data 7", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 aux8Gauge = aux_data8, "Auxiliary data 8", "raw", 0, 1023, -1, -1, 1024, 1024, 0, 0 AFR1Gauge = afr1, "AFR 1", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR2Gauge = afr2, "AFR 2", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR3Gauge = afr3, "AFR 3", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR4Gauge = afr4, "AFR 4", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR5Gauge = afr5, "AFR 5", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR6Gauge = afr6, "AFR 6", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR7Gauge = afr7, "AFR 7", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 AFR8Gauge = afr8, "AFR 8", "", 7.0, 22.5, 10, 11, 17, 18, 2, 1 ;------------------------------------------------------------------------------ [FrontPage] ; Gauges are numbered left to right, top to bottom. ; ; 1 2 3 4 ; 5 6 7 8 gauge1 = ad0Gauge gauge2 = ad1Gauge gauge3 = ad2Gauge gauge4 = ad3Gauge gauge5 = ad4Gauge gauge6 = ad5Gauge gauge7 = ad6Gauge gauge8 = ad7Gauge ;---------------------------------------------------------------------------- ; Indicators ; expr off-label on-label, off-bg, off-fg, on-bg, on-fg ; ; Look in the new colors24b.ini for the basic ones, add more or tell me what to add. ; indicator = { cpu == 0 }, "-", "CPU UNSET", white, black, red, black indicator = { pwm_stalled & 0b00000001}, "PWM1 Running", "PWM1 Stalled", white, black, red, black indicator = { pwm_stalled & 0b00000010}, "PWM2 Running", "PWM2 Stalled", white, black, red, black indicator = { pwm_stalled & 0b00000100}, "PWM3 Running", "PWM3 Stalled", white, black, red, black indicator = { pwm_stalled & 0b00001000}, "PWM4 Running", "PWM4 Stalled", white, black, red, black ;------------------------------------------------------------------------------- [OutputChannels] deadValue = { 0 } ; Convenient unchanging value. #if SERIAL ochGetCommand = "A" #else ochGetCommand = "r\x05\x07\x00\x00\x00\xA9" #endif ochBlockSize = 169 seconds = scalar, U16, 0, "s", 1.000, 0.0 secl = { seconds % 256 }, "s" ; For runtime screen. ad0 = scalar, U16, 2, "", 1,0 ad1 = scalar, U16, 4, "", 1,0 ad2 = scalar, U16, 6, "", 1,0 ad3 = scalar, U16, 8, "", 1,0 ad4 = scalar, U16, 10, "", 1,0 ad5 = scalar, U16, 12, "", 1,0 ad6 = scalar, U16, 14, "", 1,0 ad7 = scalar, U16, 16, "", 1,0 ad8 = scalar, U16, 18, "", 1,0 ad9 = scalar, U16, 20, "", 1,0 ad10 = scalar, U16, 22, "", 1,0 ad11 = scalar, U16, 24, "", 1,0 ad12 = scalar, U16, 26, "", 1,0 ad13 = scalar, U16, 28, "", 1,0 ad14 = scalar, U16, 30, "", 1,0 ad15 = scalar, U16, 32, "", 1,0 ad16 = scalar, U16, 34, "", 1,0 ad17 = scalar, U16, 36, "", 1,0 ad18 = scalar, U16, 38, "", 1,0 ad19 = scalar, U16, 40, "", 1,0 ad20 = scalar, U16, 42, "", 1,0 ad21 = scalar, U16, 44, "", 1,0 ad22 = scalar, U16, 46, "", 1,0 ad23 = scalar, U16, 48, "", 1,0 ad26 = scalar, U16, 50, "", 1,0 ad27 = scalar, U16, 52, "", 1,0 vrefhraw = scalar, U16, 54, "", 1,0 vreflraw = scalar, U16, 56, "", 1,0 pwm1_16 = scalar, U16, 58, "", 1,0 pwm2_16 = scalar, U16, 60, "", 1,0 pwm3_16 = scalar, U16, 62, "", 1,0 pwm4_16 = scalar, U16, 64, "", 1,0 pwm1_32 = scalar, U32, 58, "", 1,0 pwm2_32 = scalar, U32, 62, "", 1,0 pwm3_32 = scalar, U32, 66, "", 1,0 pwm4_32 = scalar, U32, 70, "", 1,0 pwm_stalled = scalar, U08, 74, "", 1,0 port1 = scalar, U08, 75, "", 1,0 port2 = scalar, U08, 76, "", 1,0 port3 = scalar, U08, 77, "", 1,0 pwm1_count = scalar, U32, 78, "", 1,0 pwm2_count = scalar, U32, 82, "", 1,0 pwm3_count = scalar, U32, 86, "", 1,0 pwm4_count = scalar, U32, 90, "", 1,0 pwm1_out8 = scalar, U08, 94, "", 1,0 pwm2_out8 = scalar, U08, 95, "", 1,0 pwm3_out8 = scalar, U08, 96, "", 1,0 pwm4_out8 = scalar, U08, 97, "", 1,0 pwm5_out8 = scalar, U08, 98, "", 1,0 pwm6_out8 = scalar, U08, 99, "", 1,0 pwm7_out8 = scalar, U08, 100, "", 1,0 pwm8_out8 = scalar, U08, 101, "", 1,0 pwm1_out16 = scalar, U16, 94, "", 1,0 pwm2_out16 = scalar, U16, 96, "", 1,0 pwm3_out16 = scalar, U16, 98, "", 1,0 pwm4_out16 = scalar, U16, 100, "", 1,0 pwm5_out16 = scalar, U16, 102, "", 1,0 pwm6_out16 = scalar, U16, 104, "", 1,0 pwm7_out16 = scalar, U16, 106, "", 1,0 pwm8_out16 = scalar, U16, 108, "", 1,0 rtc_sec = scalar, U08, 110, "", 1,0 rtc_min = scalar, U08, 111, "", 1,0 rtc_hour = scalar, U08, 112, "", 1,0 rtc_day = scalar, U08, 113, "", 1,0 rtc_date = scalar, U08, 114, "", 1,0 rtc_month = scalar, U08, 115, "", 1,0 rtc_year = scalar, U16, 116, "", 1,0 gps_hour = scalar, U08, 118, "", 1,0 gps_min = scalar, U08, 119, "", 1,0 gps_sec = scalar, U08, 120, "", 1,0 gps_msec = scalar, U16, 121, "", 1,0 gps_datastat = scalar, U08, 123, "", 1,0 gps_latdeg = scalar, U08, 124, "", 1,0 gps_latmin = scalar, U08, 125, "", 1,0 gps_latmmin = scalar, U16, 126, "", 1,0 gps_latNS = scalar, U08, 128, "", 1,0 gps_londeg = scalar, U08, 129, "", 1,0 gps_lonmin = scalar, U08, 130, "", 1,0 gps_lonmmin = scalar, U16, 131, "", 1,0 gps_lonEW = scalar, U08, 133, "", 1,0 gps_speed = scalar, U16, 134, "", 0.1,0 gps_course = scalar, U16, 136, "", 0.1,0 gps_date = scalar, U08, 138, "", 1,0 gps_month = scalar, U08, 139, "", 1,0 gps_year = scalar, U08, 140, "", 1,0 gps_mode = scalar, U08, 141, "", 1,0 gps_quality = scalar, U08, 142, "", 1,0 gps_nbsat = scalar, U08, 143, "", 1,0 gps_hdop = scalar, U16, 144, "", 0.1,0 gps_altk = scalar, S08, 146, "", 1,0 gps_altm = scalar, S16, 147, "", 0.1,0 gps_dgpsid = scalar, U16, 149, "", 1,0 gps_speedkm = scalar, U16, 151, "", 0.1,0 aux_data1 = scalar, U16, 153, "", 1,0 aux_data2 = scalar, U16, 155, "", 1,0 aux_data3 = scalar, U16, 157, "", 1,0 aux_data4 = scalar, U16, 159, "", 1,0 aux_data5 = scalar, U16, 161, "", 1,0 aux_data6 = scalar, U16, 163, "", 1,0 aux_data7 = scalar, U16, 165, "", 1,0 aux_data8 = scalar, U16, 167, "", 1,0 time = { timeNow } #if INI_VERSION_2 timer_clock1 = { timer_source1 ? 1000000 : 24000000 } timer_clock2 = { timer_source2 ? 1000000 : 24000000 } timer_clock3 = { timer_source3 ? 1000000 : 24000000 } timer_pre_val1 = { ((timer_prescale1 == 0) ? 1 : 0) + ((timer_prescale1 == 1) ? 2 : 0) + ((timer_prescale1 == 2) ? 4 : 0) + ((timer_prescale1 == 3) ? 8 : 0) + ((timer_prescale1 == 4) ? 16 : 0) + ((timer_prescale1 == 5) ? 32 : 0) + ((timer_prescale1 == 6) ? 64 : 0) + ((timer_prescale1 == 7) ? 128 : 0) } timer_pre_val2 = { ((timer_prescale2 == 0) ? 1 : 0) + ((timer_prescale2 == 1) ? 2 : 0) + ((timer_prescale2 == 2) ? 4 : 0) + ((timer_prescale2 == 3) ? 8 : 0) + ((timer_prescale2 == 4) ? 16 : 0) + ((timer_prescale2 == 5) ? 32 : 0) + ((timer_prescale2 == 6) ? 64 : 0) + ((timer_prescale2 == 7) ? 128 : 0) } timer_pre_val3 = { ((timer_prescale3 == 0) ? 1 : 0) + ((timer_prescale3 == 1) ? 2 : 0) + ((timer_prescale3 == 2) ? 4 : 0) + ((timer_prescale3 == 3) ? 8 : 0) + ((timer_prescale3 == 4) ? 16 : 0) + ((timer_prescale3 == 5) ? 32 : 0) + ((timer_prescale3 == 6) ? 64 : 0) + ((timer_prescale3 == 7) ? 128 : 0) } ;timer_pre_val1 = { 1 << timer_prescale1 } ;timer_pre_val2 = { 1 << timer_prescale2 } ;timer_pre_val3 = { 1 << timer_prescale3 } pwm_freq1 = { timer_clock1 / ( timer_pre_val1 * 256 * (pwm_freq_div1 + 1)) } pwm_freq2 = { timer_clock2 / ( timer_pre_val2 * 256 * (pwm_freq_div2 + 1)) } pwm_freq3 = { timer_clock3 / ( timer_pre_val3 * 256 * (pwm_freq_div3 + 1)) } #endif pwm1 = { pwm_size ? pwm1_32 : pwm1_16 } pwm2 = { pwm_size ? pwm2_32 : pwm2_16 } pwm3 = { pwm_size ? pwm3_32 : pwm3_16 } pwm4 = { pwm_size ? pwm4_32 : pwm4_16 } pwm1_countH = { (pwm1_count / 1000000) - 0.5 } pwm1_countL = { pwm1_count % 1000000 } pwm2_countH = { (pwm2_count / 1000000) - 0.5 } pwm2_countL = { pwm2_count % 1000000 } pwm3_countH = { (pwm3_count / 1000000) - 0.5 } pwm3_countL = { pwm3_count % 1000000 } pwm4_countH = { (pwm4_count / 1000000) - 0.5 } pwm4_countL = { pwm4_count % 1000000 } ; Logger+ related data max_count = { adcparam ? (4096 / (1 + (3 * (adcparam - 1)))) - 1 : 255 } vrefh = { 5 * vrefhraw / max_count } batt_volt = { (ad16 / max_count) * (61 / 10) * vrefh } volt3_3 = { (ad20 / max_count) * vrefh } tmpaccx = { ((((2 * ad17) - ad20) / max_count) * vrefh) / 1.6 } accx = { tmpaccx < -10 ? 0 : tmpaccx } tmpaccy = { ((((2 * ad18) - ad20) / max_count) * vrefh) / 1.6 } accy = { tmpaccy < -10 ? 0 : tmpaccy } tmpaccz = { ((((2 * ad19) - ad20) / max_count) * vrefh) / 1.6 } accz = { tmpaccz < -10 ? 0 : tmpaccz } gps_seconds = { gps_sec + (gps_msec / 1000) } gps_latsec = { 60 * gps_latmmin / 10000 } gps_lonsec = { 60 * gps_lonmmin / 10000 } gps_alt = { gps_altk * 1000 + gps_altm } afr1 = { (aux_data1 + 500) * 0.0147 } afr2 = { (aux_data2 + 500) * 0.0147 } afr3 = { (aux_data3 + 500) * 0.0147 } afr4 = { (aux_data4 + 500) * 0.0147 } afr5 = { (aux_data5 + 500) * 0.0147 } afr6 = { (aux_data6 + 500) * 0.0147 } afr7 = { (aux_data7 + 500) * 0.0147 } afr8 = { (aux_data8 + 500) * 0.0147 } ;------------------------------------------------------------------------------- ;-- The entries are saved in the datalog file in the order in which they -- ;-- appear in the list below. -- ;-- -- ;-- Channel - Case sensitive name of output channel to be logged. -- ;-- Label - String written to header line of log. Be careful -- ;-- about changing these, as programs like MSLVV and -- ;-- MSTweak key off specific column names. -- ;-- Type - Data type of output, converted before writing. -- ;-- Format - C-style output format of data. -- [Datalog] ; Channel Label Type Format ; -------------- ---------- ----- ------ entry = time, "Time", float, "%.3f" entry = seconds, "SecL", int, "%d" entry = ad0, "AD0", int, "%d" entry = ad1, "AD1", int, "%d" entry = ad2, "AD2", int, "%d" entry = ad3, "AD3", int, "%d" entry = ad4, "AD4", int, "%d" entry = ad5, "AD5", int, "%d" entry = ad6, "AD6", int, "%d" entry = ad7, "AD7", int, "%d" entry = ad8, "AD8", int, "%d" entry = ad9, "AD9", int, "%d" entry = ad10, "AD10", int, "%d" entry = ad11, "AD11", int, "%d" entry = ad12, "AD12", int, "%d" entry = ad13, "AD13", int, "%d" entry = ad14, "AD14", int, "%d" entry = ad15, "AD15", int, "%d" entry = ad16, "AD16", int, "%d" entry = ad17, "AD17", int, "%d" entry = ad18, "AD18", int, "%d" entry = ad19, "AD19", int, "%d" entry = ad20, "AD20", int, "%d" entry = ad21, "AD21", int, "%d" entry = ad22, "AD22", int, "%d" entry = ad23, "AD23", int, "%d" entry = ad26, "AD26", int, "%d" entry = ad27, "AD27", int, "%d" entry = pwm1, "PWM1", int, "%d" entry = pwm2, "PWM2", int, "%d" entry = pwm3, "PWM3", int, "%d" entry = pwm4, "PWM4", int, "%d" entry = pwm_stalled, "PWM stalled", int, "%d" entry = port1, "port1", int, "%d" entry = port2, "port2", int, "%d" entry = port3, "port3", int, "%d" entry = vrefhraw, "VREFH", int, "%d" entry = vreflraw, "VREFL", int, "%d" entry = pwm1_count, "PWM1 Count", int, "%d" entry = pwm2_count, "PWM2 Count", int, "%d" entry = pwm3_count, "PWM3 Count", int, "%d" entry = pwm4_count, "PWM4 Count", int, "%d" entry = rtc_sec, "RTC Seconds", int, "%d" entry = rtc_min, "RTC Minutes", int, "%d" entry = rtc_hour, "RTC Hours", int, "%d" entry = rtc_day, "RTC Day", int, "%d" entry = rtc_date, "RTC Date", int, "%d" entry = rtc_month, "RTC Month", int, "%d" entry = rtc_year, "RTC Year", int, "%d" entry = gps_hour, "GPS Hour", int, "%d" entry = gps_min, "GPS Hour", int, "%d" entry = gps_seconds, "GPS Seconds", float, "%.3f" entry = gps_datastat, "GPS Status", int, "%d" entry = gps_latdeg, "GPS Lat. deg", int, "%d" entry = gps_latmin, "GPS Lat. min", int, "%d" entry = gps_latsec, "GPS Lat. sec", float, "%.3f" entry = gps_latNS, "GPS Lat. N/S", int, "%d" entry = gps_londeg, "GPS Lon. deg", int, "%d" entry = gps_lonmin, "GPS Lon. min", int, "%d" entry = gps_lonsec, "GPS Lon. sec", float, "%.3f" entry = gps_lonEW, "GPS Lon. E/W", int, "%d" entry = gps_speed, "GPS Speed knots", float, "%.1f" entry = gps_course, "GPS Course (deg)", float, "%.1f" entry = gps_date, "GPS Date", int, "%d" entry = gps_month, "GPS Month", int, "%d" entry = gps_year, "GPS Year", int, "%d" entry = gps_mode, "GPS Mode", int, "%d" entry = gps_quality, "GPS Quality", int, "%d" entry = gps_nbsat, "GPS # sat.", int, "%d" entry = gps_hdop, "GPS HDOP", float, "%.1f" entry = gps_alt, "GPS Altitude", float, "%.1f" entry = gps_dgpsid, "GPS DGPS id", int, "%d" entry = gps_speedkm, "GPS Speed kph", float, "%.1f" entry = aux_data1, "Auxiliary data 1", int, "%d" entry = aux_data2, "Auxiliary data 2", int, "%d" entry = aux_data3, "Auxiliary data 3", int, "%d" entry = aux_data4, "Auxiliary data 4", int, "%d" entry = aux_data5, "Auxiliary data 5", int, "%d" entry = aux_data6, "Auxiliary data 6", int, "%d" entry = aux_data7, "Auxiliary data 7", int, "%d" entry = aux_data8, "Auxiliary data 8", int, "%d" ;-------------------------------------------------------------------------------