Subversion Repositories DashDisplay

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
1
/**
1
/**
2
  ******************************************************************************
2
  ******************************************************************************
3
  * @file    stm32f1xx_hal_tim_ex.c
3
  * @file    stm32f1xx_hal_tim_ex.c
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @version V1.0.1
5
  * @version V1.0.4
6
  * @date    31-July-2015
6
  * @date    29-April-2016
7
  * @brief   TIM HAL module driver.
7
  * @brief   TIM HAL module driver.
8
  *          This file provides firmware functions to manage the following
8
  *          This file provides firmware functions to manage the following
9
  *          functionalities of the Timer Extended peripheral:
9
  *          functionalities of the Timer Extended peripheral:
10
  *           + Time Hall Sensor Interface Initialization
10
  *           + Time Hall Sensor Interface Initialization
11
  *           + Time Hall Sensor Interface Start
11
  *           + Time Hall Sensor Interface Start
Line 67... Line 67...
67
 
67
 
68
  @endverbatim
68
  @endverbatim
69
  ******************************************************************************
69
  ******************************************************************************
70
  * @attention
70
  * @attention
71
  *
71
  *
72
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
72
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
73
  *
73
  *
74
  * Redistribution and use in source and binary forms, with or without modification,
74
  * Redistribution and use in source and binary forms, with or without modification,
75
  * are permitted provided that the following conditions are met:
75
  * are permitted provided that the following conditions are met:
76
  *   1. Redistributions of source code must retain the above copyright notice,
76
  *   1. Redistributions of source code must retain the above copyright notice,
77
  *      this list of conditions and the following disclaimer.
77
  *      this list of conditions and the following disclaimer.
Line 269... Line 269...
269
  * @param  htim : TIM handle
269
  * @param  htim : TIM handle
270
  * @retval None
270
  * @retval None
271
  */
271
  */
272
__weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim)
272
__weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim)
273
{
273
{
-
 
274
  /* Prevent unused argument(s) compilation warning */
-
 
275
  UNUSED(htim);
274
  /* NOTE : This function Should not be modified, when the callback is needed,
276
  /* NOTE : This function Should not be modified, when the callback is needed,
275
            the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file
277
            the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file
276
   */
278
   */
277
}
279
}
278
 
280
 
Line 281... Line 283...
281
  * @param  htim : TIM handle
283
  * @param  htim : TIM handle
282
  * @retval None
284
  * @retval None
283
  */
285
  */
284
__weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim)
286
__weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim)
285
{
287
{
-
 
288
  /* Prevent unused argument(s) compilation warning */
-
 
289
  UNUSED(htim);
286
  /* NOTE : This function Should not be modified, when the callback is needed,
290
  /* NOTE : This function Should not be modified, when the callback is needed,
287
            the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file
291
            the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file
288
   */
292
   */
289
}
293
}
290
 
294
 
Line 1719... Line 1723...
1719
  * @param  htim : TIM handle
1723
  * @param  htim : TIM handle
1720
  * @retval None
1724
  * @retval None
1721
  */
1725
  */
1722
__weak void HAL_TIMEx_CommutationCallback(TIM_HandleTypeDef *htim)
1726
__weak void HAL_TIMEx_CommutationCallback(TIM_HandleTypeDef *htim)
1723
{
1727
{
-
 
1728
  /* Prevent unused argument(s) compilation warning */
-
 
1729
  UNUSED(htim);
1724
  /* NOTE : This function Should not be modified, when the callback is needed,
1730
  /* NOTE : This function Should not be modified, when the callback is needed,
1725
            the HAL_TIMEx_CommutationCallback could be implemented in the user file
1731
            the HAL_TIMEx_CommutationCallback could be implemented in the user file
1726
   */
1732
   */
1727
}
1733
}
1728
 
1734
 
Line 1731... Line 1737...
1731
  * @param  htim : TIM handle
1737
  * @param  htim : TIM handle
1732
  * @retval None
1738
  * @retval None
1733
  */
1739
  */
1734
__weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
1740
__weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
1735
{
1741
{
-
 
1742
  /* Prevent unused argument(s) compilation warning */
-
 
1743
  UNUSED(htim);
1736
  /* NOTE : This function Should not be modified, when the callback is needed,
1744
  /* NOTE : This function Should not be modified, when the callback is needed,
1737
            the HAL_TIMEx_BreakCallback could be implemented in the user file
1745
            the HAL_TIMEx_BreakCallback could be implemented in the user file
1738
   */
1746
   */
1739
}
1747
}
1740
 
1748