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