def reverce_8bit(data_8bit: int) -> int:
    """8bit を反転させる

    Parameters
    ----------
    data_8bit : int
        8bit数値

    Returns
    -------
    int
        ビット反転後の数値
    """

    data_8bit = ((data_8bit & 0b01010101) << 1) | ((data_8bit & 0b10101010) >> 1)
    data_8bit = ((data_8bit & 0b00110011) << 2) | ((data_8bit & 0b11001100) >> 2)
    return (data_8bit & 0b00001111) << 4 | data_8bit >> 4