AUTRI_AIN_A
active[0] = TREAD4(sc,AUTRI_AIN_A);
TWRITE4(sc, (ch & 0x20) ? AUTRI_AIN_B : AUTRI_AIN_A, mask);