mbed(SerialHalfDuplex入り)

Fork of mbed by mbed official

Committer:
yusuke_kyo
Date:
Wed Apr 08 08:04:18 2015 +0000
Revision:
98:01a414ca7d6d
Parent:
93:e188a91d3eaa
remove SerialHalfDuplex.h

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 93:e188a91d3eaa 5 * @version V1.2.0
Kojto 93:e188a91d3eaa 6 * @date 11-December-2014
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 93:e188a91d3eaa 11 * <h2><center>&copy; COPYRIGHT(c) 2014 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 93:e188a91d3eaa 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 93:e188a91d3eaa 55 */
Kojto 93:e188a91d3eaa 56
Kojto 93:e188a91d3eaa 57 /* Exported types ------------------------------------------------------------*/
Kojto 93:e188a91d3eaa 58 /** @defgroup TIMEx_Exported_Types TIMEx Extended Exported Types
Kojto 93:e188a91d3eaa 59 * @{
Kojto 93:e188a91d3eaa 60 */
Kojto 93:e188a91d3eaa 61
Kojto 93:e188a91d3eaa 62 /**
Kojto 93:e188a91d3eaa 63 * @brief TIM Hall sensor Configuration Structure definition
Kojto 93:e188a91d3eaa 64 */
Kojto 93:e188a91d3eaa 65
Kojto 93:e188a91d3eaa 66 typedef struct
Kojto 93:e188a91d3eaa 67 {
Kojto 93:e188a91d3eaa 68
Kojto 93:e188a91d3eaa 69 uint32_t IC1Polarity; /*!< Specifies the active edge of the input signal.
Kojto 93:e188a91d3eaa 70 This parameter can be a value of @ref TIM_Input_Capture_Polarity */
Kojto 93:e188a91d3eaa 71
Kojto 93:e188a91d3eaa 72 uint32_t IC1Prescaler; /*!< Specifies the Input Capture Prescaler.
Kojto 93:e188a91d3eaa 73 This parameter can be a value of @ref TIM_Input_Capture_Prescaler */
Kojto 93:e188a91d3eaa 74
Kojto 93:e188a91d3eaa 75 uint32_t IC1Filter; /*!< Specifies the input capture filter.
Kojto 93:e188a91d3eaa 76 This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */
Kojto 93:e188a91d3eaa 77 uint32_t Commutation_Delay; /*!< Specifies the pulse value to be loaded into the Capture Compare Register.
Kojto 93:e188a91d3eaa 78 This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */
Kojto 93:e188a91d3eaa 79 } TIM_HallSensor_InitTypeDef;
Kojto 93:e188a91d3eaa 80
Kojto 93:e188a91d3eaa 81 /**
Kojto 93:e188a91d3eaa 82 * @brief TIM Master configuration Structure definition
Kojto 93:e188a91d3eaa 83 */
Kojto 93:e188a91d3eaa 84 typedef struct {
Kojto 93:e188a91d3eaa 85 uint32_t MasterOutputTrigger; /*!< Trigger output (TRGO) selection
Kojto 93:e188a91d3eaa 86 This parameter can be a value of @ref TIM_Master_Mode_Selection */
Kojto 93:e188a91d3eaa 87 uint32_t MasterSlaveMode; /*!< Master/slave mode selection
Kojto 93:e188a91d3eaa 88 This parameter can be a value of @ref TIM_Master_Slave_Mode */
Kojto 93:e188a91d3eaa 89 }TIM_MasterConfigTypeDef;
Kojto 93:e188a91d3eaa 90
Kojto 93:e188a91d3eaa 91 /**
Kojto 93:e188a91d3eaa 92 * @brief TIM Break and Dead time configuration Structure definition
Kojto 93:e188a91d3eaa 93 */
Kojto 93:e188a91d3eaa 94 typedef struct
Kojto 93:e188a91d3eaa 95 {
Kojto 93:e188a91d3eaa 96 uint32_t OffStateRunMode; /*!< TIM off state in run mode
Kojto 93:e188a91d3eaa 97 This parameter can be a value of @ref TIM_OSSR_Off_State_Selection_for_Run_mode_state */
Kojto 93:e188a91d3eaa 98 uint32_t OffStateIDLEMode; /*!< TIM off state in IDLE mode
Kojto 93:e188a91d3eaa 99 This parameter can be a value of @ref TIM_OSSI_Off_State_Selection_for_Idle_mode_state */
Kojto 93:e188a91d3eaa 100 uint32_t LockLevel; /*!< TIM Lock level
Kojto 93:e188a91d3eaa 101 This parameter can be a value of @ref TIM_Lock_level */
Kojto 93:e188a91d3eaa 102 uint32_t DeadTime; /*!< TIM dead Time
Kojto 93:e188a91d3eaa 103 This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF */
Kojto 93:e188a91d3eaa 104 uint32_t BreakState; /*!< TIM Break State
Kojto 93:e188a91d3eaa 105 This parameter can be a value of @ref TIM_Break_Input_enable_disable */
Kojto 93:e188a91d3eaa 106 uint32_t BreakPolarity; /*!< TIM Break input polarity
Kojto 93:e188a91d3eaa 107 This parameter can be a value of @ref TIM_Break_Polarity */
Kojto 93:e188a91d3eaa 108 uint32_t AutomaticOutput; /*!< TIM Automatic Output Enable state
Kojto 93:e188a91d3eaa 109 This parameter can be a value of @ref TIM_AOE_Bit_Set_Reset */
Kojto 93:e188a91d3eaa 110 } TIM_BreakDeadTimeConfigTypeDef;
Kojto 93:e188a91d3eaa 111
Kojto 93:e188a91d3eaa 112 /**
Kojto 93:e188a91d3eaa 113 * @}
Kojto 93:e188a91d3eaa 114 */
Kojto 93:e188a91d3eaa 115
Kojto 93:e188a91d3eaa 116 /* Exported constants --------------------------------------------------------*/
Kojto 93:e188a91d3eaa 117 /** @defgroup TIMEx_Exported_Constants TIMEx Exported Constants
Kojto 93:e188a91d3eaa 118 * @{
Kojto 93:e188a91d3eaa 119 */
Kojto 93:e188a91d3eaa 120
Kojto 93:e188a91d3eaa 121 /** @defgroup TIMEx_Remap TIMEx Remap
Kojto 93:e188a91d3eaa 122 * @{
Kojto 93:e188a91d3eaa 123 */
Kojto 93:e188a91d3eaa 124
Kojto 93:e188a91d3eaa 125 #define TIM_TIM14_GPIO (0x00000000) /*!< TIM14 TI1 is connected to GPIO */
Kojto 93:e188a91d3eaa 126 #define TIM_TIM14_RTC (0x00000001) /*!< TIM14 TI1 is connected to RTC_clock */
Kojto 93:e188a91d3eaa 127 #define TIM_TIM14_HSE (0x00000002) /*!< TIM14 TI1 is connected to HSE/32 */
Kojto 93:e188a91d3eaa 128 #define TIM_TIM14_MCO (0x00000003) /*!< TIM14 TI1 is connected to MCO */
Kojto 93:e188a91d3eaa 129
Kojto 93:e188a91d3eaa 130 #define IS_TIM_REMAP(TIM_REMAP) (((TIM_REMAP) == TIM_TIM14_GPIO) ||\
Kojto 93:e188a91d3eaa 131 ((TIM_REMAP) == TIM_TIM14_RTC) ||\
Kojto 93:e188a91d3eaa 132 ((TIM_REMAP) == TIM_TIM14_HSE) ||\
Kojto 93:e188a91d3eaa 133 ((TIM_REMAP) == TIM_TIM14_MCO))
Kojto 93:e188a91d3eaa 134 /**
Kojto 93:e188a91d3eaa 135 * @}
Kojto 93:e188a91d3eaa 136 */
Kojto 93:e188a91d3eaa 137
Kojto 93:e188a91d3eaa 138 /** @defgroup TIM_Clock_Filter TIM Clock Filter
Kojto 93:e188a91d3eaa 139 * @{
Kojto 93:e188a91d3eaa 140 */
Kojto 93:e188a91d3eaa 141 #define IS_TIM_DEADTIME(DEADTIME) ((DEADTIME) <= 0xFF)
Kojto 93:e188a91d3eaa 142 /**
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 /* Exported macro ------------------------------------------------------------*/
Kojto 93:e188a91d3eaa 151
Kojto 93:e188a91d3eaa 152 /* Exported functions --------------------------------------------------------*/
Kojto 93:e188a91d3eaa 153 /** @addtogroup TIMEx_Exported_Functions
Kojto 93:e188a91d3eaa 154 * @{
Kojto 93:e188a91d3eaa 155 */
Kojto 93:e188a91d3eaa 156
Kojto 93:e188a91d3eaa 157 /** @addtogroup TIMEx_Exported_Functions_Group1 Timer Hall Sensor functions
Kojto 93:e188a91d3eaa 158 * @brief Timer Hall Sensor functions
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 93:e188a91d3eaa 181 /** @addtogroup TIMEx_Exported_Functions_Group2 Timer Complementary Output Compare functions
Kojto 93:e188a91d3eaa 182 * @brief Timer Complementary Output Compare functions
Kojto 93:e188a91d3eaa 183 * @{
Kojto 93:e188a91d3eaa 184 */
Kojto 93:e188a91d3eaa 185 /* Timer Complementary Output Compare functions *****************************/
Kojto 93:e188a91d3eaa 186 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 187 HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 188 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 189
Kojto 93:e188a91d3eaa 190 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 191 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 192 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 193
Kojto 93:e188a91d3eaa 194 /* Non-Blocking mode: DMA */
Kojto 93:e188a91d3eaa 195 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
Kojto 93:e188a91d3eaa 196 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 197 /**
Kojto 93:e188a91d3eaa 198 * @}
Kojto 93:e188a91d3eaa 199 */
Kojto 93:e188a91d3eaa 200
Kojto 93:e188a91d3eaa 201 /** @addtogroup TIMEx_Exported_Functions_Group3 Timer Complementary PWM functions
Kojto 93:e188a91d3eaa 202 * @brief Timer Complementary PWM functions
Kojto 93:e188a91d3eaa 203 * @{
Kojto 93:e188a91d3eaa 204 */
Kojto 93:e188a91d3eaa 205 /* Timer Complementary PWM functions ****************************************/
Kojto 93:e188a91d3eaa 206 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 207 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 208 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 209
Kojto 93:e188a91d3eaa 210 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 211 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 212 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 213 /* Non-Blocking mode: DMA */
Kojto 93:e188a91d3eaa 214 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
Kojto 93:e188a91d3eaa 215 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
Kojto 93:e188a91d3eaa 216 /**
Kojto 93:e188a91d3eaa 217 * @}
Kojto 93:e188a91d3eaa 218 */
Kojto 93:e188a91d3eaa 219
Kojto 93:e188a91d3eaa 220 /** @addtogroup TIMEx_Exported_Functions_Group4 Timer Complementary One Pulse functions
Kojto 93:e188a91d3eaa 221 * @brief Timer Complementary One Pulse functions
Kojto 93:e188a91d3eaa 222 * @{
Kojto 93:e188a91d3eaa 223 */
Kojto 93:e188a91d3eaa 224 /* Timer Complementary One Pulse functions **********************************/
Kojto 93:e188a91d3eaa 225 /* Blocking mode: Polling */
Kojto 93:e188a91d3eaa 226 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 227 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 228
Kojto 93:e188a91d3eaa 229 /* Non-Blocking mode: Interrupt */
Kojto 93:e188a91d3eaa 230 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 231 HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
Kojto 93:e188a91d3eaa 232 /**
Kojto 93:e188a91d3eaa 233 * @}
Kojto 93:e188a91d3eaa 234 */
Kojto 93:e188a91d3eaa 235
Kojto 93:e188a91d3eaa 236 /** @addtogroup TIMEx_Exported_Functions_Group5 Peripheral Control functions
Kojto 93:e188a91d3eaa 237 * @brief Peripheral Control functions
Kojto 93:e188a91d3eaa 238 * @{
Kojto 93:e188a91d3eaa 239 */
Kojto 93:e188a91d3eaa 240 /* Extended Control functions ************************************************/
Kojto 93:e188a91d3eaa 241 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 242 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 243 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutationEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource);
Kojto 93:e188a91d3eaa 244 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTypeDef * sMasterConfig);
Kojto 93:e188a91d3eaa 245 HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig);
Kojto 93:e188a91d3eaa 246 HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap);
Kojto 93:e188a91d3eaa 247 /**
Kojto 93:e188a91d3eaa 248 * @}
Kojto 93:e188a91d3eaa 249 */
Kojto 93:e188a91d3eaa 250
Kojto 93:e188a91d3eaa 251 /** @addtogroup TIMEx_Exported_Functions_Group6 Extension Callbacks functions
Kojto 93:e188a91d3eaa 252 * @brief Extended Callbacks functions
Kojto 93:e188a91d3eaa 253 * @{
Kojto 93:e188a91d3eaa 254 */
Kojto 93:e188a91d3eaa 255 /* Extension Callback *********************************************************/
Kojto 93:e188a91d3eaa 256 void HAL_TIMEx_CommutationCallback(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 257 void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 258 void HAL_TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma);
Kojto 93:e188a91d3eaa 259 /**
Kojto 93:e188a91d3eaa 260 * @}
Kojto 93:e188a91d3eaa 261 */
Kojto 93:e188a91d3eaa 262
Kojto 93:e188a91d3eaa 263 /** @addtogroup TIMEx_Exported_Functions_Group7 Extension Peripheral State functions
Kojto 93:e188a91d3eaa 264 * @brief Extended Peripheral State functions
Kojto 93:e188a91d3eaa 265 * @{
Kojto 93:e188a91d3eaa 266 */
Kojto 93:e188a91d3eaa 267 /* Extension Peripheral State functions **************************************/
Kojto 93:e188a91d3eaa 268 HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim);
Kojto 93:e188a91d3eaa 269 /**
Kojto 93:e188a91d3eaa 270 * @}
Kojto 93:e188a91d3eaa 271 */
Kojto 93:e188a91d3eaa 272
Kojto 93:e188a91d3eaa 273 /**
Kojto 93:e188a91d3eaa 274 * @}
Kojto 93:e188a91d3eaa 275 */
Kojto 93:e188a91d3eaa 276
Kojto 93:e188a91d3eaa 277 /**
Kojto 93:e188a91d3eaa 278 * @}
Kojto 93:e188a91d3eaa 279 */
Kojto 93:e188a91d3eaa 280
Kojto 93:e188a91d3eaa 281 /**
Kojto 93:e188a91d3eaa 282 * @}
Kojto 93:e188a91d3eaa 283 */
Kojto 93:e188a91d3eaa 284
Kojto 93:e188a91d3eaa 285 #ifdef __cplusplus
Kojto 93:e188a91d3eaa 286 }
Kojto 93:e188a91d3eaa 287 #endif
Kojto 93:e188a91d3eaa 288
Kojto 93:e188a91d3eaa 289
Kojto 93:e188a91d3eaa 290 #endif /* __STM32F0xx_HAL_TIM_EX_H */
Kojto 93:e188a91d3eaa 291
Kojto 93:e188a91d3eaa 292 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Kojto 93:e188a91d3eaa 293