def METHOD_NAME() -> int:
    """
    Returns an integer mask allowing to extract a codeword from a DIO trigger value.
    """
    binary_mask_str = Dio._CW_MASK_STR.replace(" ", "")
    return int("".join(bit for bit in binary_mask_str), 2)