Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
108:34e6b704fe68
.

Who changed what in which revision?

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