/* param base ITRC peripheral base address param word 32bit word represent corresponding event/action in STATUS register to be cleared (see ITRC_STATUS_INx/OUTx_STATUS) return kStatus_Success if success, kStatus_InvalidArgument otherwise  */
status_t ITRC_ClearStatus(ITRC_Type *base, uint32_t word)
/* param base ITRC peripheral base address param word 32bit word represent corresponding event/action in STATUS register to be cleared (see ITRC_STATUS_INx/OUTx_STATUS) return kStatus_Success if success, kStatus_InvalidArgument otherwise  */
status_t ITRC_ClearStatus(ITRC_Type *base, uint32_t word)
{
    if ((word & ~(IN_EVENTS_MASK | OUT_ACTIONS_MASK)) != 0u)
    {
        return kStatus_InvalidArgument;
    }
    base->STATUS |= word;
    return kStatus_Success;
}