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