/* Get the CRC32 check result with the expected value.  */
en_flag_status_t CRC_CRC32_GetCheckResult(uint32_t u32ExpectValue)
/* Get the CRC32 check result with the expected value.  */
en_flag_status_t CRC_CRC32_GetCheckResult(uint32_t u32ExpectValue)
{
    __IO uint32_t u32Count = CRC_CALC_CLK_COUNT;
    en_flag_status_t enStatus;
    uint32_t u32Expect_Value = u32ExpectValue;
    (void)CRC_WriteData32(&u32Expect_Value, 1UL);
    while (u32Count-- != 0UL) {
        __NOP();
    }
    enStatus = CRC_GetResultStatus();
    return enStatus;
}