o += "<td title=\"0x"+(c[j][4]*1).toString(16)+"\">";
if(type == 0x91) {
- switch(c[j][4]>>12 & 0xF) {
+ switch(c[j][4]>>12 & 0x7) {
case 0: o += "ADA v1"; break;
case 1: o += "ADA v2"; break;
case 2: o += "Multitest"; break;
o+= "---";
o += "<td title=\"0x"+(c[j][4]*1).toString(16)+"\">";
if(type == 0x91 || type == 0x92) {
+ if((c[j][4] & 0x8000) == 0x8000) o += "RX sync, ";
if((c[j][4] & 0x0b00) == 0x000) {o += "TDC, single, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}
if((c[j][4] & 0x0900) == 0x100) {o += "TDC, double, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}
if((c[j][4] & 0x0900) == 0x800) {o += "TDC, dbl-sep, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}