def disable_ctest(maroc3,chan): return common_roc.on_off_bit(maroc3,765+(63-chan),0)
def disable_sum(maroc3,chan): return common_roc.on_off_bit(maroc3,189+(63-chan)*9,0)
def unmask_or2(maroc3,chan): return common_roc.on_off_bit(maroc3,27+(63-chan)*2,0)
def mask_or1(maroc3,chan): return common_roc.on_off_bit(maroc3,28+(63-chan)*2,1)
def disable_dac_data(easiroc_id, chan): return common_roc.on_off_bit(easiroc, 166 + 288 - 9 * (int(chan) + 1), 0)
def enable_dac_data(easiroc, chan): return common_roc.on_off_bit(easiroc, 166 + 288 - 9 * (int(chan) + 1), 1)