/* param base ACMP peripheral base address. return Status flags asserted mask. See "_acmp_status_flags".  */
uint32_t ACMP_GetStatusFlags(CMP_Type *base)
/* param base ACMP peripheral base address. return Status flags asserted mask. See "_acmp_status_flags".  */
uint32_t ACMP_GetStatusFlags(CMP_Type *base)
{
    uint32_t status = 0U;
    uint32_t tmp32  = base->C0;
    if (CMP_C0_CFR_MASK == (tmp32 & CMP_C0_CFR_MASK))
    {
        status |= (uint32_t)kACMP_OutputRisingEventFlag;
    }
    if (CMP_C0_CFF_MASK == (tmp32 & CMP_C0_CFF_MASK))
    {
        status |= (uint32_t)kACMP_OutputFallingEventFlag;
    }
    if (CMP_C0_COUT_MASK == (tmp32 & CMP_C0_COUT_MASK))
    {
        status |= (uint32_t)kACMP_OutputAssertEventFlag;
    }
    return status;
}