Ricardo Benitez / mbed

Fork of mbed by mbed official

Committer:
Kojto
Date:
Fri Oct 02 07:35:07 2015 +0200
Revision:
108:34e6b704fe68
Parent:
93:e188a91d3eaa
Release 108  of the mbed library

Changes:
- new platforms - ELMO_F411RE, WIZNET_7500P, ARM_MPS2_BEID
- EFM32 - bugfixes in rtc, serial
- Cortex A cmsis - update files
- STML4 - RAM fixes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 93:e188a91d3eaa 1 /**
Kojto 93:e188a91d3eaa 2 ******************************************************************************
Kojto 93:e188a91d3eaa 3 * @file stm32f0xx_hal_tim_ex.h
Kojto 93:e188a91d3eaa 4 * @author MCD Application Team
Kojto 108:34e6b704fe68 5 * @version V1.3.0
Kojto 108:34e6b704fe68 6 * @date 26-June-2015
Kojto 93:e188a91d3eaa 7 * @brief Header file of TIM HAL Extended module.
Kojto 93:e188a91d3eaa 8 ******************************************************************************
Kojto 93:e188a91d3eaa 9 * @attention
Kojto 93:e188a91d3eaa 10 *
Kojto 108:34e6b704fe68 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
Kojto 93:e188a91d3eaa 12 *
Kojto 93:e188a91d3eaa 13 * Redistribution and use in source and binary forms, with or without modification,
Kojto 93:e188a91d3eaa 14 * are permitted provided that the following conditions are met:
Kojto 93:e188a91d3eaa 15 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 93:e188a91d3eaa 16 * this list of conditions and the following disclaimer.
Kojto 93:e188a91d3eaa 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 93:e188a91d3eaa 18 * this list of conditions and the following disclaimer in the documentation
Kojto 93:e188a91d3eaa 19 * and/or other materials provided with the distribution.
Kojto 93:e188a91d3eaa 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 93:e188a91d3eaa 21 * may be used to endorse or promote products derived from this software
Kojto 93:e188a91d3eaa 22 * without specific prior written permission.
Kojto 93:e188a91d3eaa 23 *
Kojto 93:e188a91d3eaa 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 93:e188a91d3eaa 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 93:e188a91d3eaa 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 93:e188a91d3eaa 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 93:e188a91d3eaa 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 93:e188a91d3eaa 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 93:e188a91d3eaa 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 93:e188a91d3eaa 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 93:e188a91d3eaa 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 93:e188a91d3eaa 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 93:e188a91d3eaa 34 *
Kojto 93:e188a91d3eaa 35 ******************************************************************************
Kojto 108:34e6b704fe68 36 */
Kojto 93:e188a91d3eaa 37
Kojto 93:e188a91d3eaa 38 /* Define to prevent recursive inclusion -------------------------------------*/
Kojto 93:e188a91d3eaa 39 #ifndef __STM32F0xx_HAL_TIM_EX_H
Kojto 93:e188a91d3eaa 40 #define __STM32F0xx_HAL_TIM_EX_H
Kojto 93:e188a91d3eaa 41
Kojto 93:e188a91d3eaa 42 #ifdef __cplusplus
Kojto 93:e188a91d3eaa 43 extern "C" {
Kojto 93:e188a91d3eaa 44 #endif
Kojto 93:e188a91d3eaa 45
Kojto 93:e188a91d3eaa 46 /* Includes ------------------------------------------------------------------*/
Kojto 93:e188a91d3eaa 47 #include "stm32f0xx_hal_def.h"
Kojto 93:e188a91d3eaa 48
Kojto 93:e188a91d3eaa 49 /** @addtogroup STM32F0xx_HAL_Driver
Kojto 93:e188a91d3eaa 50 * @{
Kojto 93:e188a91d3eaa 51 */
Kojto 93:e188a91d3eaa 52
Kojto 93:e188a91d3eaa 53 /** @addtogroup TIMEx
Kojto 93:e188a91d3eaa 54 * @{
Kojto 108:34e6b704fe68 55 */
Kojto 93:e188a91d3eaa 56
Kojto 108:34e6b704fe68 57 /* Exported types ------------------------------------------------------------*/
Kojto 108:34e6b704fe68 58 /** @defgroup TIMEx_Exported_Types TIMEx Exported Types
Kojto 93:e188a91d3eaa 59 * @{
Kojto 93:e188a91d3eaa 60 */
Kojto 93:e188a91d3eaa 61
Kojto 108:34e6b704fe68 62
Kojto 108:34e6b704fe68 63 /**
Kojto 108:34e6b704fe68 64 * @brief TIM Hall sensor Configuration Structure definition
Kojto 93:e188a91d3eaa 65 */
Kojto 93:e188a91d3eaa 66
Kojto 93:e188a91d3eaa 67 typedef struct
Kojto 93:e188a91d3eaa 68 {
Kojto 108:34e6b704fe68 69
Kojto 93:e188a91d3eaa 70 uint32_t IC1Polarity; /*!< Specifies the active edge of the input signal.
Kojto 93:e188a91d3eaa 71 This parameter can be a value of @ref TIM_Input_Capture_Polarity */
Kojto 108:34e6b704fe68 72
Kojto 93:e188a91d3eaa 73 uint32_t IC1Prescaler; /*!< Specifies the Input Capture Prescaler.
Kojto 93:e188a91d3eaa 74 This parameter can be a value of @ref TIM_Input_Capture_Prescaler */
Kojto 108:34e6b704fe68 75
Kojto 93:e188a91d3eaa 76 uint32_t IC1Filter; /*!< Specifies the input capture filter.
Kojto 108:34e6b704fe68 77 This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */
Kojto 108:34e6b704fe68 78 uint32_t Commutation_Delay; /*!< Specifies the pulse value to be loaded into the Capture Compare Register.
Kojto 108:34e6b704fe68 79 This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */
Kojto 93:e188a91d3eaa 80 } TIM_HallSensor_InitTypeDef;
Kojto 93:e188a91d3eaa 81
Kojto 108:34e6b704fe68 82 /**
Kojto 108:34e6b704fe68 83 * @brief TIM Master configuration Structure definition
Kojto 93:e188a91d3eaa 84 */
Kojto 93:e188a91d3eaa 85 typedef struct {
Kojto 93:e188a91d3eaa 86 uint32_t MasterOutputTrigger; /*!< Trigger output (TRGO) selection
Kojto 108:34e6b704fe68 87 This parameter can be a value of @ref TIM_Master_Mode_Selection */
Kojto 93:e188a91d3eaa 88 uint32_t MasterSlaveMode; /*!< Master/slave mode selection
Kojto 93:e188a91d3eaa 89 This parameter can be a value of @ref TIM_Master_Slave_Mode */
Kojto 93:e188a91d3eaa 90 }TIM_MasterConfigTypeDef;
Kojto 93:e188a91d3eaa 91
Kojto 108:34e6b704fe68 92 /**
Kojto 108:34e6b704fe68 93 * @brief TIM Break and Dead time configuration Structure definition
Kojto 93:e188a91d3eaa 94 */
Kojto 93:e188a91d3eaa 95 typedef struct
Kojto 93:e188a91d3eaa 96 {
Kojto 93:e188a91d3eaa 97 uint32_t OffStateRunMode; /*!< TIM off state in run mode
Kojto 93:e188a91d3eaa 98 This parameter can be a value of @ref TIM_OSSR_Off_State_Selection_for_Run_mode_state */
Kojto 93:e188a91d3eaa 99 uint32_t OffStateIDLEMode; /*!< TIM off state in IDLE mode
Kojto 93:e188a91d3eaa 100 This parameter can be a value of @ref TIM_OSSI_Off_State_Selection_for_Idle_mode_state */
Kojto 93:e188a91d3eaa 101 uint32_t LockLevel; /*!< TIM Lock level
Kojto 108:34e6b704fe68 102 This parameter can be a value of @ref TIM_Lock_level */
Kojto 93:e188a91d3eaa 103 uint32_t DeadTime; /*!< TIM dead Time
Kojto 93:e188a91d3eaa 104 This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF */
Kojto 93:e188a91d3eaa 105 uint32_t BreakState; /*!< TIM Break State
Kojto 93:e188a91d3eaa 106 This parameter can be a value of @ref TIM_Break_Input_enable_disable */
Kojto 93:e188a91d3eaa 107 uint32_t BreakPolarity; /*!< TIM Break input polarity
Kojto 93:e188a91d3eaa 108 This parameter can be a value of @ref TIM_Break_Polarity */
Kojto 93:e188a91d3eaa 109 uint32_t AutomaticOutput; /*!< TIM Automatic Output Enable state
Kojto 108:34e6b704fe68 110 This parameter can be a value of @ref TIM_AOE_Bit_Set_Reset */
Kojto 93:e188a91d3eaa 111 } TIM_BreakDeadTimeConfigTypeDef;
Kojto 93:e188a91d3eaa 112
Kojto 93:e188a91d3eaa 113 /**
Kojto 93:e188a91d3eaa 114 * @}
Kojto 108:34e6b704fe68 115 */
Kojto 93:e188a91d3eaa 116
Kojto 93:e188a91d3eaa 117 /* Exported constants --------------------------------------------------------*/
Kojto 93:e188a91d3eaa 118 /** @defgroup TIMEx_Exported_Constants TIMEx Exported Constants
Kojto 93:e188a91d3eaa 119 * @{
Kojto 93:e188a91d3eaa 120 */
Kojto 108:34e6b704fe68 121
Kojto 93:e188a91d3eaa 122 /** @defgroup TIMEx_Remap TIMEx Remap
Kojto 93:e188a91d3eaa 123 * @{
Kojto 93:e188a91d3eaa 124 */
Kojto 93:e188a91d3eaa 125
Kojto 93:e188a91d3eaa 126 #define TIM_TIM14_GPIO (0x00000000) /*!< TIM14 TI1 is connected to GPIO */
Kojto 93:e188a91d3eaa 127 #define TIM_TIM14_RTC (0x00000001) /*!< TIM14 TI1 is connected to RTC_clock */
Kojto 93:e188a91d3eaa 128 #define TIM_TIM14_HSE (0x00000002) /*!< TIM14 TI1 is connected to HSE/32 */
Kojto 93:e188a91d3eaa 129 #define TIM_TIM14_MCO (0x00000003) /*!< TIM14 TI1 is connected to MCO */
Kojto 93:e188a91d3eaa 130
Kojto 93:e188a91d3eaa 131 #define IS_TIM_REMAP(TIM_REMAP) (((TIM_REMAP) == TIM_TIM14_GPIO) ||\
Kojto 93:e188a91d3eaa 132 ((TIM_REMAP) == TIM_TIM14_RTC) ||\
Kojto 93:e188a91d3eaa 133 ((TIM_REMAP) == TIM_TIM14_HSE) ||\
Kojto 93:e188a91d3eaa 134 ((TIM_REMAP) == TIM_TIM14_MCO))
Kojto 93:e188a91d3eaa 135 /**
Kojto 93:e188a91d3eaa 136 * @}
Kojto 93:e188a91d3eaa 137 */
Kojto 93:e188a91d3eaa 138
Kojto 108:34e6b704fe68 139 /** @defgroup TIMEx_Clock_Filter TIMEx Clock Filter
Kojto 93:e188a91d3eaa 140 * @{
Kojto 93:e188a91d3eaa 141 */
Kojto 108:34e6b704fe68 142 #define IS_TIM_DEADTIME(DEADTIME) ((DEADTIME) <= 0xFF) /*!< BreakDead Time */
Kojto 93:e188a91d3eaa 143 /**
Kojto 93:e188a91d3eaa 144 * @}
Kojto 93:e188a91d3eaa 145 */
Kojto 93:e188a91d3eaa 146
Kojto 93:e188a91d3eaa 147 /**
Kojto 93:e188a91d3eaa 148 * @}
Kojto 93:e188a91d3eaa 149 */
Kojto 93:e188a91d3eaa 150
Kojto 93:e188a91d3eaa 151 /* Exported macro ------------------------------------------------------------*/
Kojto 93:e188a91d3eaa 152
Kojto 93:e188a91d3eaa 153 /* Exported functions --------------------------------------------------------*/
Kojto 93:e188a91d3eaa 154 /** @addtogroup TIMEx_Exported_Functions
Kojto 93:e188a91d3eaa 155 * @{
Kojto 93:e188a91d3eaa 156 */
Kojto 93:e188a91d3eaa 157
Kojto 108:34e6b704fe68 158 /** @addtogroup TIMEx_Exported_Functions_Group1
Kojto 93:e188a91d3eaa 159 * @{
Kojto 93:e188a91d3eaa 160 */
Kojto 93:e188a91d3eaa 161 /* Timer Hall Sensor functions **********************************************/
Kojto 93:e188a91d3eaa 162 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef* sConfig);
Kojto 93:e188a91d3eaa 163 HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 164
Kojto 93:e188a91d3eaa 165 void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 166 void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 167
Kojto 93:e188a91d3eaa 168 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 169 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 170 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 171 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 172 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 173 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 174 /* Non-Blocking mode: DMA */
Kojto 93:e188a91d3eaa 175 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
Kojto 93:e188a91d3eaa 176 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 177 /**
Kojto 93:e188a91d3eaa 178 * @}
Kojto 93:e188a91d3eaa 179 */
Kojto 93:e188a91d3eaa 180
Kojto 108:34e6b704fe68 181 /** @addtogroup TIMEx_Exported_Functions_Group2
Kojto 93:e188a91d3eaa 182 * @{
Kojto 93:e188a91d3eaa 183 */
Kojto 93:e188a91d3eaa 184 /* Timer Complementary Output Compare functions *****************************/
Kojto 93:e188a91d3eaa 185 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 186 HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 187 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 188
Kojto 93:e188a91d3eaa 189 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 190 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 191 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 192
Kojto 93:e188a91d3eaa 193 /* Non-Blocking mode: DMA */
Kojto 93:e188a91d3eaa 194 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
Kojto 93:e188a91d3eaa 195 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 196 /**
Kojto 93:e188a91d3eaa 197 * @}
Kojto 93:e188a91d3eaa 198 */
Kojto 93:e188a91d3eaa 199
Kojto 108:34e6b704fe68 200 /** @addtogroup TIMEx_Exported_Functions_Group3
Kojto 93:e188a91d3eaa 201 * @{
Kojto 93:e188a91d3eaa 202 */
Kojto 93:e188a91d3eaa 203 /* Timer Complementary PWM functions ****************************************/
Kojto 93:e188a91d3eaa 204 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 205 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 206 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 207
Kojto 93:e188a91d3eaa 208 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 209 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 210 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 211 /* Non-Blocking mode: DMA */
Kojto 93:e188a91d3eaa 212 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
Kojto 93:e188a91d3eaa 213 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 214 /**
Kojto 93:e188a91d3eaa 215 * @}
Kojto 93:e188a91d3eaa 216 */
Kojto 93:e188a91d3eaa 217
Kojto 108:34e6b704fe68 218 /** @addtogroup TIMEx_Exported_Functions_Group4
Kojto 93:e188a91d3eaa 219 * @{
Kojto 93:e188a91d3eaa 220 */
Kojto 93:e188a91d3eaa 221 /* Timer Complementary One Pulse functions **********************************/
Kojto 93:e188a91d3eaa 222 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 223 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 224 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 225
Kojto 93:e188a91d3eaa 226 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 227 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 228 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 229 /**
Kojto 93:e188a91d3eaa 230 * @}
Kojto 93:e188a91d3eaa 231 */
Kojto 93:e188a91d3eaa 232
Kojto 108:34e6b704fe68 233 /** @addtogroup TIMEx_Exported_Functions_Group5
Kojto 93:e188a91d3eaa 234 * @{
Kojto 93:e188a91d3eaa 235 */
Kojto 93:e188a91d3eaa 236 /* Extended Control functions ************************************************/
Kojto 93:e188a91d3eaa 237 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 238 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 239 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 240 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTypeDef * sMasterConfig);
Kojto 93:e188a91d3eaa 241 HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig);
Kojto 93:e188a91d3eaa 242 HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap);
Kojto 93:e188a91d3eaa 243 /**
Kojto 93:e188a91d3eaa 244 * @}
Kojto 93:e188a91d3eaa 245 */
Kojto 93:e188a91d3eaa 246
Kojto 108:34e6b704fe68 247 /** @addtogroup TIMEx_Exported_Functions_Group6
Kojto 93:e188a91d3eaa 248 * @{
Kojto 93:e188a91d3eaa 249 */
Kojto 93:e188a91d3eaa 250 /* Extension Callback *********************************************************/
Kojto 93:e188a91d3eaa 251 void HAL_TIMEx_CommutationCallback(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 252 void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 253 /**
Kojto 93:e188a91d3eaa 254 * @}
Kojto 93:e188a91d3eaa 255 */
Kojto 93:e188a91d3eaa 256
Kojto 108:34e6b704fe68 257 /** @addtogroup TIMEx_Exported_Functions_Group7
Kojto 93:e188a91d3eaa 258 * @{
Kojto 93:e188a91d3eaa 259 */
Kojto 93:e188a91d3eaa 260 /* Extension Peripheral State functions **************************************/
Kojto 93:e188a91d3eaa 261 HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 262 /**
Kojto 93:e188a91d3eaa 263 * @}
Kojto 93:e188a91d3eaa 264 */
Kojto 93:e188a91d3eaa 265
Kojto 93:e188a91d3eaa 266 /**
Kojto 93:e188a91d3eaa 267 * @}
Kojto 108:34e6b704fe68 268 */
Kojto 108:34e6b704fe68 269 /* End of exported functions -------------------------------------------------*/
Kojto 93:e188a91d3eaa 270
Kojto 108:34e6b704fe68 271 /* Private functions----------------------------------------------------------*/
Kojto 108:34e6b704fe68 272 /** @defgroup TIMEx_Private_Functions TIMEx Private Functions
Kojto 108:34e6b704fe68 273 * @{
Kojto 108:34e6b704fe68 274 */
Kojto 108:34e6b704fe68 275 void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma);
Kojto 93:e188a91d3eaa 276 /**
Kojto 108:34e6b704fe68 277 * @}
Kojto 108:34e6b704fe68 278 */
Kojto 108:34e6b704fe68 279 /* End of private functions --------------------------------------------------*/
Kojto 93:e188a91d3eaa 280
Kojto 93:e188a91d3eaa 281 /**
Kojto 93:e188a91d3eaa 282 * @}
Kojto 93:e188a91d3eaa 283 */
Kojto 108:34e6b704fe68 284
Kojto 108:34e6b704fe68 285 /**
Kojto 108:34e6b704fe68 286 * @}
Kojto 108:34e6b704fe68 287 */
Kojto 108:34e6b704fe68 288
Kojto 93:e188a91d3eaa 289 #ifdef __cplusplus
Kojto 93:e188a91d3eaa 290 }
Kojto 93:e188a91d3eaa 291 #endif
Kojto 93:e188a91d3eaa 292
Kojto 93:e188a91d3eaa 293
Kojto 93:e188a91d3eaa 294 #endif /* __STM32F0xx_HAL_TIM_EX_H */
Kojto 93:e188a91d3eaa 295
Kojto 93:e188a91d3eaa 296 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/