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