| | |
| | | } |
| | | |
| | | /** |
| | | * @brief CRC MSP Initialization |
| | | * This function configures the hardware resources used in this example |
| | | * @param hcrc: CRC handle pointer |
| | | * @retval None |
| | | */ |
| | | void HAL_CRC_MspInit(CRC_HandleTypeDef* hcrc) |
| | | { |
| | | if(hcrc->Instance==CRC) |
| | | { |
| | | /* USER CODE BEGIN CRC_MspInit 0 */ |
| | | |
| | | /* USER CODE END CRC_MspInit 0 */ |
| | | /* Peripheral clock enable */ |
| | | __HAL_RCC_CRC_CLK_ENABLE(); |
| | | /* USER CODE BEGIN CRC_MspInit 1 */ |
| | | |
| | | /* USER CODE END CRC_MspInit 1 */ |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * @brief CRC MSP De-Initialization |
| | | * This function freeze the hardware resources used in this example |
| | | * @param hcrc: CRC handle pointer |
| | | * @retval None |
| | | */ |
| | | void HAL_CRC_MspDeInit(CRC_HandleTypeDef* hcrc) |
| | | { |
| | | if(hcrc->Instance==CRC) |
| | | { |
| | | /* USER CODE BEGIN CRC_MspDeInit 0 */ |
| | | |
| | | /* USER CODE END CRC_MspDeInit 0 */ |
| | | /* Peripheral clock disable */ |
| | | __HAL_RCC_CRC_CLK_DISABLE(); |
| | | /* USER CODE BEGIN CRC_MspDeInit 1 */ |
| | | |
| | | /* USER CODE END CRC_MspDeInit 1 */ |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * @brief TIM_Base MSP Initialization |
| | | * This function configures the hardware resources used in this example |
| | | * @param htim_base: TIM_Base handle pointer |