/* Get FCM state, get FCM overflow, complete, error flag.  */
en_flag_status_t FCM_GetStatus(uint32_t u32Flag)
/* Get FCM state, get FCM overflow, complete, error flag.  */
en_flag_status_t FCM_GetStatus(uint32_t u32Flag)
{
    DDL_ASSERT(IS_FCM_FLAG(u32Flag));
    return ((READ_REG32_BIT(CM_FCM->SR, u32Flag) != 0UL) ? SET : RESET);
}