let adc_value d = (is_addr d, is_data d, is_ctrl d)