/* Get the CRC16 check result with the expected value.  */
en_flag_status_t CRC_CRC16_GetCheckResult(uint16_t u16ExpectValue)
/* Get the CRC16 check result with the expected value.  */
en_flag_status_t CRC_CRC16_GetCheckResult(uint16_t u16ExpectValue)
{
    __IO uint32_t u32Count = CRC_CALC_CLK_COUNT;
    en_flag_status_t enStatus;
    uint32_t u32Expect_Value = u16ExpectValue;
    u32Expect_Value = CRC_ConvertCrcValue(u32Expect_Value);
    (void)CRC_WriteData16((uint16_t *)((void *)&u32Expect_Value), 1UL);
    while (u32Count-- != 0UL) {
        __NOP();
    }
    enStatus = CRC_GetResultStatus();
    return enStatus;
}