12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #include "crc.h"
- CRC_HandleTypeDef hcrc;
- void MX_CRC_Init(void)
- {
-
-
-
-
- hcrc.Instance = CRC;
- if (HAL_CRC_Init(&hcrc) != HAL_OK)
- {
- Error_Handler();
- }
-
-
- }
- void HAL_CRC_MspInit(CRC_HandleTypeDef* crcHandle)
- {
- if(crcHandle->Instance==CRC)
- {
-
-
-
- __HAL_RCC_CRC_CLK_ENABLE();
-
-
- }
- }
- void HAL_CRC_MspDeInit(CRC_HandleTypeDef* crcHandle)
- {
- if(crcHandle->Instance==CRC)
- {
-
-
-
- __HAL_RCC_CRC_CLK_DISABLE();
-
-
- }
- }
|