source/src/main.cpp
static void MX_CRC_Init(void)
{

    /* USER CODE BEGIN CRC_Init 0 */

    /* USER CODE END CRC_Init 0 */

    /* USER CODE BEGIN CRC_Init 1 */

    /* USER CODE END CRC_Init 1 */
    hcrc.Instance = CRC;
    hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE;
    hcrc.Init.DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE;
    hcrc.Init.InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE;
    hcrc.Init.OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE;
    hcrc.InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES;
    if (HAL_CRC_Init(&hcrc) != HAL_OK) {
        Error_Handler();
    }
    /* USER CODE BEGIN CRC_Init 2 */

    /* USER CODE END CRC_Init 2 */
}
/**
 * @brief CRC Initialization Function
 * @param None
 * @retval None
 */
@brief CRC Initialization Function
@param None
@retval None
@brief CRC Initialization Function @param None @retval None
static void MX_CRC_Init(void)
{
    hcrc.Instance = CRC;
    hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE;
    hcrc.Init.DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE;
    hcrc.Init.InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE;
    hcrc.Init.OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE;
    hcrc.InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES;
    if (HAL_CRC_Init(&hcrc) != HAL_OK) {
        Error_Handler();
    }
}
static void MX_CRC_Init ( void ) { hcrc . Instance = CRC ; hcrc . Init . DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE ; hcrc . Init . DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE ; hcrc . Init . InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE ; hcrc . Init . OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE ; hcrc . InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES ; if ( HAL_CRC_Init ( & hcrc ) != HAL_OK ) { Error_Handler ( ) ; } }
@brief CRC Initialization Function
 @param None
 @retval None
@brief CRC Initialization Function @param None @retval None
/* USER CODE BEGIN CRC_Init 0 */ /* USER CODE END CRC_Init 0 */ /* USER CODE BEGIN CRC_Init 1 */ /* USER CODE END CRC_Init 1 */ /* USER CODE BEGIN CRC_Init 2 */ /* USER CODE END CRC_Init 2 */