void HAL_RNG_MspDeInit(RNG_HandleTypeDef* hrng) { if(hrng->Instance==RNG) { /* USER CODE BEGIN RNG_MspDeInit 0 */ /* USER CODE END RNG_MspDeInit 0 */ /* Peripheral clock disable */ __RNG_CLK_DISABLE(); } /* USER CODE BEGIN RNG_MspDeInit 1 */ /* USER CODE END RNG_MspDeInit 1 */ }
void HAL_RNG_MspDeInit(RNG_HandleTypeDef* hrng) { if(hrng->Instance==RNG) { /* USER CODE BEGIN RNG_MspDeInit 0 */ /* USER CODE END RNG_MspDeInit 0 */ /* Peripheral clock disable */ __RNG_CLK_DISABLE(); /* Peripheral interrupt Deinit*/ HAL_NVIC_DisableIRQ(HASH_RNG_IRQn); /* USER CODE BEGIN RNG_MspDeInit 1 */ /* USER CODE END RNG_MspDeInit 1 */ } }