STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#define | __HAL_TIM_RESET_HANDLE_STATE(__HANDLE__) |
Reset TIM handle state. | |
#define | __HAL_TIM_ENABLE(__HANDLE__) |
Enable the TIM peripheral. | |
#define | __HAL_TIM_MOE_ENABLE(__HANDLE__) |
Enable the TIM main Output. | |
#define | __HAL_TIM_DISABLE(__HANDLE__) |
Disable the TIM peripheral. | |
#define | __HAL_TIM_MOE_DISABLE(__HANDLE__) |
Disable the TIM main Output. | |
#define | __HAL_TIM_MOE_DISABLE_UNCONDITIONALLY(__HANDLE__) |
Disable the TIM main Output. | |
#define | __HAL_TIM_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified TIM interrupt. | |
#define | __HAL_TIM_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified TIM interrupt. | |
#define | __HAL_TIM_ENABLE_DMA(__HANDLE__, __DMA__) |
Enable the specified DMA request. | |
#define | __HAL_TIM_DISABLE_DMA(__HANDLE__, __DMA__) |
Disable the specified DMA request. | |
#define | __HAL_TIM_GET_FLAG(__HANDLE__, __FLAG__) |
Check whether the specified TIM interrupt flag is set or not. | |
#define | __HAL_TIM_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the specified TIM interrupt flag. | |
#define | __HAL_TIM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified TIM interrupt source is enabled or not. | |
#define | __HAL_TIM_CLEAR_IT(__HANDLE__, __INTERRUPT__) |
Clear the TIM interrupt pending bits. | |
#define | __HAL_TIM_IS_TIM_COUNTING_DOWN(__HANDLE__) |
Indicates whether or not the TIM Counter is used as downcounter. | |
#define | __HAL_TIM_SET_PRESCALER(__HANDLE__, __PRESC__) |
Set the TIM Prescaler on runtime. | |
#define | __HAL_TIM_SET_COUNTER(__HANDLE__, __COUNTER__) |
Set the TIM Counter Register value on runtime. | |
#define | __HAL_TIM_GET_COUNTER(__HANDLE__) |
Get the TIM Counter Register value on runtime. | |
#define | __HAL_TIM_SET_AUTORELOAD(__HANDLE__, __AUTORELOAD__) |
Set the TIM Autoreload Register value on runtime without calling another time any Init function. | |
#define | __HAL_TIM_GET_AUTORELOAD(__HANDLE__) |
Get the TIM Autoreload Register value on runtime. | |
#define | __HAL_TIM_SET_CLOCKDIVISION(__HANDLE__, __CKD__) |
Set the TIM Clock Division value on runtime without calling another time any Init function. | |
#define | __HAL_TIM_GET_CLOCKDIVISION(__HANDLE__) |
Get the TIM Clock Division value on runtime. | |
#define | __HAL_TIM_SET_ICPRESCALER(__HANDLE__, __CHANNEL__, __ICPSC__) |
Set the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function. | |
#define | __HAL_TIM_GET_ICPRESCALER(__HANDLE__, __CHANNEL__) |
Get the TIM Input Capture prescaler on runtime. | |
#define | __HAL_TIM_SET_COMPARE(__HANDLE__, __CHANNEL__, __COMPARE__) |
Set the TIM Capture Compare Register value on runtime without calling another time ConfigChannel function. | |
#define | __HAL_TIM_GET_COMPARE(__HANDLE__, __CHANNEL__) |
Get the TIM Capture Compare Register value on runtime. | |
#define | __HAL_TIM_ENABLE_OCxPRELOAD(__HANDLE__, __CHANNEL__) |
Set the TIM Output compare preload. | |
#define | __HAL_TIM_DISABLE_OCxPRELOAD(__HANDLE__, __CHANNEL__) |
Reset the TIM Output compare preload. | |
#define | __HAL_TIM_ENABLE_OCxFAST(__HANDLE__, __CHANNEL__) |
Enable fast mode for a given channel. | |
#define | __HAL_TIM_DISABLE_OCxFAST(__HANDLE__, __CHANNEL__) |
Disable fast mode for a given channel. | |
#define | __HAL_TIM_URS_ENABLE(__HANDLE__) |
Set the Update Request Source (URS) bit of the TIMx_CR1 register. | |
#define | __HAL_TIM_URS_DISABLE(__HANDLE__) |
Reset the Update Request Source (URS) bit of the TIMx_CR1 register. | |
#define | __HAL_TIM_SET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__, __POLARITY__) |
Set the TIM Capture x input polarity on runtime. | |
#define | __HAL_TIM_SELECT_CCDMAREQUEST(__HANDLE__, __CCDMA__) |
Select the Capture/compare DMA request source. | |
#define __HAL_TIM_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Reset TIM handle state.
__HANDLE__ | TIM handle. |
None |
Definition at line 1053 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Enable the TIM peripheral.
__HANDLE__ | TIM handle |
None |
Definition at line 1072 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_Base_Start(), HAL_TIM_Base_Start_DMA(), HAL_TIM_Base_Start_IT(), HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT(), HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT(), HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT(), HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT(), HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA(), HAL_TIMEx_HallSensor_Start_IT(), HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), HAL_TIMEx_OCN_Start_IT(), HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(), and HAL_TIMEx_PWMN_Start_IT().
#define __HAL_TIM_MOE_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Enable the TIM main Output.
__HANDLE__ | TIM handle |
None |
Definition at line 1079 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT(), HAL_TIM_OnePulse_Start(), HAL_TIM_OnePulse_Start_IT(), HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT(), HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), HAL_TIMEx_OCN_Start_IT(), HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePulseN_Start_IT(), HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(), and HAL_TIMEx_PWMN_Start_IT().
#define __HAL_TIM_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Disable the TIM peripheral.
__HANDLE__ | TIM handle |
None |
Definition at line 1086 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_Base_DeInit(), HAL_TIM_Base_Stop(), HAL_TIM_Base_Stop_DMA(), HAL_TIM_Base_Stop_IT(), HAL_TIM_Encoder_DeInit(), HAL_TIM_Encoder_Stop(), HAL_TIM_Encoder_Stop_DMA(), HAL_TIM_Encoder_Stop_IT(), HAL_TIM_IC_DeInit(), HAL_TIM_IC_Stop(), HAL_TIM_IC_Stop_DMA(), HAL_TIM_IC_Stop_IT(), HAL_TIM_OC_DeInit(), HAL_TIM_OC_Stop(), HAL_TIM_OC_Stop_DMA(), HAL_TIM_OC_Stop_IT(), HAL_TIM_OnePulse_DeInit(), HAL_TIM_OnePulse_Stop(), HAL_TIM_OnePulse_Stop_IT(), HAL_TIM_PWM_DeInit(), HAL_TIM_PWM_Stop(), HAL_TIM_PWM_Stop_DMA(), HAL_TIM_PWM_Stop_IT(), HAL_TIMEx_HallSensor_DeInit(), HAL_TIMEx_HallSensor_Stop(), HAL_TIMEx_HallSensor_Stop_DMA(), HAL_TIMEx_HallSensor_Stop_IT(), HAL_TIMEx_OCN_Stop(), HAL_TIMEx_OCN_Stop_DMA(), HAL_TIMEx_OCN_Stop_IT(), HAL_TIMEx_OnePulseN_Stop(), HAL_TIMEx_OnePulseN_Stop_IT(), HAL_TIMEx_PWMN_Stop(), HAL_TIMEx_PWMN_Stop_DMA(), and HAL_TIMEx_PWMN_Stop_IT().
#define __HAL_TIM_MOE_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Disable the TIM main Output.
__HANDLE__ | TIM handle |
None |
Definition at line 1104 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_OC_Stop(), HAL_TIM_OC_Stop_DMA(), HAL_TIM_OC_Stop_IT(), HAL_TIM_OnePulse_Stop(), HAL_TIM_OnePulse_Stop_IT(), HAL_TIM_PWM_Stop(), HAL_TIM_PWM_Stop_DMA(), HAL_TIM_PWM_Stop_IT(), HAL_TIMEx_OCN_Stop(), HAL_TIMEx_OCN_Stop_DMA(), HAL_TIMEx_OCN_Stop_IT(), HAL_TIMEx_OnePulseN_Stop(), HAL_TIMEx_OnePulseN_Stop_IT(), HAL_TIMEx_PWMN_Stop(), HAL_TIMEx_PWMN_Stop_DMA(), and HAL_TIMEx_PWMN_Stop_IT().
#define __HAL_TIM_MOE_DISABLE_UNCONDITIONALLY | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Disable the TIM main Output.
__HANDLE__ | TIM handle |
None |
Definition at line 1121 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_tim.h>
Enable the specified TIM interrupt.
__HANDLE__ | specifies the TIM Handle. |
__INTERRUPT__ | specifies the TIM interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 1137 of file stm32f4xx_hal_tim.h.
Referenced by HAL_ResumeTick(), HAL_TIM_Base_Start_IT(), HAL_TIM_Encoder_Start_IT(), HAL_TIM_IC_Start_IT(), HAL_TIM_OC_Start_IT(), HAL_TIM_OnePulse_Start_IT(), HAL_TIM_PWM_Start_IT(), HAL_TIM_SlaveConfigSynchro_IT(), HAL_TIMEx_ConfigCommutEvent_IT(), HAL_TIMEx_HallSensor_Start_IT(), HAL_TIMEx_OCN_Start_IT(), HAL_TIMEx_OnePulseN_Start_IT(), and HAL_TIMEx_PWMN_Start_IT().
#define __HAL_TIM_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_tim.h>
Disable the specified TIM interrupt.
__HANDLE__ | specifies the TIM Handle. |
__INTERRUPT__ | specifies the TIM interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 1153 of file stm32f4xx_hal_tim.h.
Referenced by HAL_SuspendTick(), HAL_TIM_Base_Stop_IT(), HAL_TIM_Encoder_Stop_IT(), HAL_TIM_IC_Stop_IT(), HAL_TIM_OC_Stop_IT(), HAL_TIM_OnePulse_Stop_IT(), HAL_TIM_PWM_Stop_IT(), HAL_TIM_SlaveConfigSynchro(), HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_DMA(), HAL_TIMEx_HallSensor_Stop_IT(), HAL_TIMEx_OCN_Stop_IT(), HAL_TIMEx_OnePulseN_Stop_IT(), and HAL_TIMEx_PWMN_Stop_IT().
#define __HAL_TIM_ENABLE_DMA | ( | __HANDLE__, | |
__DMA__ ) |
#include <stm32f4xx_hal_tim.h>
Enable the specified DMA request.
__HANDLE__ | specifies the TIM Handle. |
__DMA__ | specifies the TIM DMA request to enable. This parameter can be one of the following values:
|
None |
Definition at line 1168 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_Base_Start_DMA(), HAL_TIM_DMABurst_MultiReadStart(), HAL_TIM_DMABurst_MultiWriteStart(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_IC_Start_DMA(), HAL_TIM_OC_Start_DMA(), HAL_TIM_PWM_Start_DMA(), HAL_TIMEx_ConfigCommutEvent_DMA(), HAL_TIMEx_HallSensor_Start_DMA(), HAL_TIMEx_OCN_Start_DMA(), and HAL_TIMEx_PWMN_Start_DMA().
#define __HAL_TIM_DISABLE_DMA | ( | __HANDLE__, | |
__DMA__ ) |
#include <stm32f4xx_hal_tim.h>
Disable the specified DMA request.
__HANDLE__ | specifies the TIM Handle. |
__DMA__ | specifies the TIM DMA request to disable. This parameter can be one of the following values:
|
None |
Definition at line 1183 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_Base_Stop_DMA(), HAL_TIM_DMABurst_ReadStop(), HAL_TIM_DMABurst_WriteStop(), HAL_TIM_Encoder_Stop_DMA(), HAL_TIM_IC_Stop_DMA(), HAL_TIM_OC_Stop_DMA(), HAL_TIM_PWM_Stop_DMA(), HAL_TIM_SlaveConfigSynchro(), HAL_TIM_SlaveConfigSynchro_IT(), HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_IT(), HAL_TIMEx_HallSensor_Stop_DMA(), HAL_TIMEx_OCN_Stop_DMA(), and HAL_TIMEx_PWMN_Stop_DMA().
#define __HAL_TIM_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_tim.h>
Check whether the specified TIM interrupt flag is set or not.
__HANDLE__ | specifies the TIM Handle. |
__FLAG__ | specifies the TIM interrupt flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 1203 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_tim.h>
Clear the specified TIM interrupt flag.
__HANDLE__ | specifies the TIM Handle. |
__FLAG__ | specifies the TIM interrupt flag to clear. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 1223 of file stm32f4xx_hal_tim.h.
Referenced by HAL_TIM_IRQHandler().
#define __HAL_TIM_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_tim.h>
Check whether the specified TIM interrupt source is enabled or not.
__HANDLE__ | TIM handle |
__INTERRUPT__ | specifies the TIM interrupt source to check. This parameter can be one of the following values:
|
The | state of TIM_IT (SET or RESET). |
Definition at line 1240 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_tim.h>
Clear the TIM interrupt pending bits.
__HANDLE__ | TIM handle |
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be one of the following values:
|
None |
Definition at line 1257 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_IS_TIM_COUNTING_DOWN | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Indicates whether or not the TIM Counter is used as downcounter.
__HANDLE__ | TIM handle. |
False | (Counter used as upcounter) or True (Counter used as downcounter) |
Definition at line 1266 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_PRESCALER | ( | __HANDLE__, | |
__PRESC__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Prescaler on runtime.
__HANDLE__ | TIM handle. |
__PRESC__ | specifies the Prescaler new value. |
None |
Definition at line 1274 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_COUNTER | ( | __HANDLE__, | |
__COUNTER__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Counter Register value on runtime.
__HANDLE__ | TIM handle. |
__COUNTER__ | specifies the Counter register new value. |
None |
Definition at line 1282 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_GET_COUNTER | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Get the TIM Counter Register value on runtime.
__HANDLE__ | TIM handle. |
16-bit | or 32-bit value of the timer counter register (TIMx_CNT) |
Definition at line 1289 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_AUTORELOAD | ( | __HANDLE__, | |
__AUTORELOAD__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Autoreload Register value on runtime without calling another time any Init function.
__HANDLE__ | TIM handle. |
__AUTORELOAD__ | specifies the Counter register new value. |
None |
Definition at line 1297 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_GET_AUTORELOAD | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Get the TIM Autoreload Register value on runtime.
__HANDLE__ | TIM handle. |
16-bit | or 32-bit value of the timer auto-reload register(TIMx_ARR) |
Definition at line 1308 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_CLOCKDIVISION | ( | __HANDLE__, | |
__CKD__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Clock Division value on runtime without calling another time any Init function.
__HANDLE__ | TIM handle. |
__CKD__ | specifies the clock division value. This parameter can be one of the following value:
|
None |
Definition at line 1320 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_GET_CLOCKDIVISION | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Get the TIM Clock Division value on runtime.
__HANDLE__ | TIM handle. |
The | clock division can be one of the following values:
|
Definition at line 1335 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_ICPRESCALER | ( | __HANDLE__, | |
__CHANNEL__, | |||
__ICPSC__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
__ICPSC__ | specifies the Input Capture4 prescaler new value. This parameter can be one of the following values:
|
None |
Definition at line 1355 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_GET_ICPRESCALER | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Get the TIM Input Capture prescaler on runtime.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
The | input capture prescaler can be one of the following values:
|
Definition at line 1376 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_COMPARE | ( | __HANDLE__, | |
__CHANNEL__, | |||
__COMPARE__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Capture Compare Register value on runtime without calling another time ConfigChannel function.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
__COMPARE__ | specifies the Capture Compare register new value. |
None |
Definition at line 1394 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_GET_COMPARE | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Get the TIM Capture Compare Register value on runtime.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channel associated with the capture compare register This parameter can be one of the following values:
|
16-bit | or 32-bit value of the capture/compare register (TIMx_CCRy) |
Definition at line 1411 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_ENABLE_OCxPRELOAD | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Output compare preload.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
None |
Definition at line 1428 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_DISABLE_OCxPRELOAD | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Reset the TIM Output compare preload.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
None |
Definition at line 1445 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_ENABLE_OCxFAST | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Enable fast mode for a given channel.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
None |
Definition at line 1466 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_DISABLE_OCxFAST | ( | __HANDLE__, | |
__CHANNEL__ ) |
#include <stm32f4xx_hal_tim.h>
Disable fast mode for a given channel.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
None |
Definition at line 1487 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_URS_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Set the Update Request Source (URS) bit of the TIMx_CR1 register.
__HANDLE__ | TIM handle. |
None |
Definition at line 1501 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_URS_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_tim.h>
Reset the Update Request Source (URS) bit of the TIMx_CR1 register.
__HANDLE__ | TIM handle. |
None |
Definition at line 1514 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SET_CAPTUREPOLARITY | ( | __HANDLE__, | |
__CHANNEL__, | |||
__POLARITY__ ) |
#include <stm32f4xx_hal_tim.h>
Set the TIM Capture x input polarity on runtime.
__HANDLE__ | TIM handle. |
__CHANNEL__ | TIM Channels to be configured. This parameter can be one of the following values:
|
__POLARITY__ | Polarity for TIx source
|
None |
Definition at line 1531 of file stm32f4xx_hal_tim.h.
#define __HAL_TIM_SELECT_CCDMAREQUEST | ( | __HANDLE__, | |
__CCDMA__ ) |
#include <stm32f4xx_hal_tim.h>
Select the Capture/compare DMA request source.
__HANDLE__ | specifies the TIM Handle. |
__CCDMA__ | specifies Capture/compare DMA request source This parameter can be one of the following values:
|
None |
Definition at line 1545 of file stm32f4xx_hal_tim.h.