def METHOD_NAME(codeword: int) -> None:
    """
    Checks whether the provided codeword is compatible with the DIO compatibility mode.
    Args:
        codeword: codeword to be checked
    Raises:
        ziConfigurationError: the provided codeword is incompatible.
    """
    if codeword > Dio.MAX_NUM_CODEWORDS:
        raise ziConfigurationError(
            f"The UHFQA DIO compatibility mode on the SHFQA only supports up to "
            f"{Dio.MAX_NUM_CODEWORDS} codewords!"
        )