/* Set the fields of structure stc_crc_init_t to default values.  */
int32_t CRC_StructInit(stc_crc_init_t *pstcCrcInit)
/* Set the fields of structure stc_crc_init_t to default values.  */
int32_t CRC_StructInit(stc_crc_init_t *pstcCrcInit)
{
    int32_t i32Ret = LL_ERR_INVD_PARAM;
    if (NULL != pstcCrcInit) {
        pstcCrcInit->u32Protocol = CRC_CRC16;
        pstcCrcInit->u32InitValue = CRC_INIT_VALUE_DEFAULT;
        pstcCrcInit->u32RefIn = CRC_REFIN_ENABLE;
        pstcCrcInit->u32RefOut = CRC_REFOUT_ENABLE;
        pstcCrcInit->u32XorOut = CRC_XOROUT_ENABLE;
        i32Ret = LL_OK;
    }
    return i32Ret;
}