UM1940
Configure Complementary channels, break features and dead time.
Configure Master and the Slave synchronization.
Configure the commutation event in case of use of the Hall sensor interface.
Configure the DMA Burst Mode.
This section contains the following APIs:
HAL_TIMEx_ConfigCommutationEvent()
HAL_TIMEx_ConfigCommutationEvent_IT()
HAL_TIMEx_ConfigCommutationEvent_DMA()
HAL_TIMEx_MasterConfigSynchronization()
HAL_TIMEx_ConfigBreakDeadTime()
HAL_TIMEx_RemapConfig()
46.2.8
Extension Callbacks functions
This section provides Extension TIM callback functions:
Timer Commutation callback
Timer Break callback
This section contains the following APIs:
HAL_TIMEx_CommutationCallback()
HAL_TIMEx_BreakCallback()
TIMEx_DMACommutationCplt()
46.2.9
Extension Peripheral State functions
This subsection permits to get in run-time the status of the peripheral and the data flow.
This section contains the following APIs:
HAL_TIMEx_HallSensor_GetState()
46.2.10
Detailed description of functions
HAL_TIMEx_HallSensor_Init
Function name
Function description
Parameters
Return values
HAL_TIMEx_HallSensor_DeInit
Function name
Function description
Parameters
HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init
(TIM_HandleTypeDef * htim, TIM_HallSensor_InitTypeDef *
sConfig)
Initializes the TIM Hall Sensor Interface and create the associated
handle.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
sConfig: TIM Hall Sensor configuration structure
HAL: status
HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit
(TIM_HandleTypeDef * htim)
DeInitializes the TIM Hall Sensor interface.
htim: pointer to a TIM_HandleTypeDef structure that
DocID028236 Rev 2
HAL TIM Extension Driver
633/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers