Current Waveform List: // 1 = 60-2 / 6+1 Hall (ISB) // 2 = 24+1 / 24+1 VR // 3 = 60-2 / 6+1 Hall (HHP) // 4 = 24+1 / 24+1 Hall // 5 = 60-2 / 12+1 Hall (MY07) // 6 = 60-2 / 24+1 Hall (HHP 45/60) // 7 = 72-1 / 72-1 Hall (QSC) // 8 = 72 / 72 Hall (QSB) // 9 = 60-2 / 12+1 Hall (MY07) // 10= N/A // 11= 60-2 / 8+1 Hall // 12= 142 / 6+1 Hall (CM552) // 13= 60-2 / 4+1 Hall // 14= 60-2 / 6+1 / 6+1 // 15= 60-2 / 4+1 Hall (ISBe4) // Rev 4.7 8/31/2010 // 1. Added waveform #15 per Niraj Desai data for CM2250....ISBe4...mod of #13. // Rev 4.6 3/10/2010 // 1. Added waveform #14 (60-2 / 6+1 / 6+1) // 2. Fixed Set_Addr() function to handle multiple sync'd channels correctly, and // fixed waveform #14 by adding wave[6].length to definition in switch() statement // Rev 4.5 5/13/2008...released Nov 2009 // 1. Fixed waveform #12 (142 / 6+1) // 2. Added waveform #13 (60-2/4+1) // Rev 4.4 3/2008 // 1. Added waveform #11 (60-2/8+1) // 2. Added waveform #12 (142 / 6+1), but has problems // 3. Changed Generate_Waveform function to allow use of old (non)inverted bitmaps // Rev 4.3 8/10/2007 // 1. Corrected several closed loop engine speed probs // 2. Changed engine model design // Rev 4.2 7/31/2007 // 1. Added waveform 7 & 8 (QSB, QSC) // 2. Allow arb card to be used as digital card // Rev 4.1 3/22/2007 // 1. Added sync offset change. Only good for channels 1&2. Can use offset // for one or the other, but not both. this is 'cause i'm forcing one to addr 0 // (should read addr, but have to wait 900ms for CPLD to reset spi after a read) // Rev 4.00 3/14/2007 (req rev2 FPGA/CPLD) // 1. Added PWM functionality // Rev 3.15 // 1. Fixed waveform 1-off loading issue with old CPLD/FPGA SPI code // Rev 3.14 2/16/2007 // 1. Changed waveform #1 and #5 cam signal to correct sync // Rev 3.13 2/15/2007 // 1. Change to not re-load waveform if rx 0x51 msg with same // waveform that's in use. // Rev 3.12 2/9/2007 // 1. Added waveform #6 (60-2/24+1) and #9 (repeat of #5) // Rev 3.11 12/19/2006 // 1. Corrected sw ver msg by adding parenthesis // 2. Ignore 0x50 msg for channel 2 // 3. Ignore 0x50 & 0x51 msgs for invalid channels // 4. Add busoff & busserr interrupt/clear // Rev 3.00 12/18/2006 // // 1. Added capability to switch waveforms on the fly via CAN // 2. Added SW ver info to ping response // 3. Added 60-2/12+1 waveform combo