/* LPTIM MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_LPTIM_MspDeInit(LPTIM_HandleTypeDef *hlptim)
/* LPTIM MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_LPTIM_MspDeInit(LPTIM_HandleTypeDef *hlptim)
{
  if(hlptim->Instance==LPTIM1)
  {
    __HAL_RCC_LPTIM1_CLK_DISABLE();
    HAL_NVIC_DisableIRQ(LPTIM1_IRQn);
  }
  else if(hlptim->Instance==LPTIM2)
  {
    __HAL_RCC_LPTIM2_CLK_DISABLE();
    HAL_NVIC_DisableIRQ(LPTIM2_IRQn);
  }
  else if(hlptim->Instance==LPTIM3)
  {
    __HAL_RCC_LPTIM3_CLK_DISABLE();
    HAL_NVIC_DisableIRQ(LPTIM3_IRQn);
  }
  else if(hlptim->Instance==LPTIM4)
  {
    __HAL_RCC_LPTIM4_CLK_DISABLE();
    HAL_NVIC_DisableIRQ(LPTIM4_IRQn);
  }
  else if(hlptim->Instance==LPTIM5)
  {
    __HAL_RCC_LPTIM5_CLK_DISABLE();
    HAL_NVIC_DisableIRQ(LPTIM5_IRQn);
  }
}