Code: Select all
/* makes sure the input data format (bytes, halfwords or words stream)
* is properly specified by user */
assert_param(IS_CRC_INPUTDATA_FORMAT(hcrc->InputDataFormat));
Code: Select all
/* Initialize the CRC */
#if defined(HAL_CRC_MODULE_ENABLED)
HAL_CRC_Init(&hcrc);
#endif
How do i set it up so that hcrc is setup properly? Thanks!