def get_sata_mode(): return read_request(modules['sata'], 1)
def get_chips_alive(): mask = read_request(modules['daq'], 4) return [i for i in range(32) if (mask & (0x1 << i))]