Timer Hall Sensor functions.
More...
Timer Hall Sensor functions.
==============================================================================
##### Timer Hall Sensor functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Initialize and configure TIM HAL Sensor.
(+) De-initialize TIM HAL Sensor.
(+) Start the Hall Sensor Interface.
(+) Stop the Hall Sensor Interface.
(+) Start the Hall Sensor Interface and enable interrupts.
(+) Stop the Hall Sensor Interface and disable interrupts.
(+) Start the Hall Sensor Interface and enable DMA transfers.
(+) Stop the Hall Sensor Interface and disable DMA transfers.
◆ HAL_TIMEx_HallSensor_DeInit()
DeInitializes the TIM Hall Sensor interface.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 240 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Init()
Initializes the TIM Hall Sensor Interface and initialize the associated handle.
- Note
- When the timer instance is initialized in Hall Sensor Interface mode, timer channels 1 and channel 2 are reserved and cannot be used for other purpose.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
sConfig | TIM Hall Sensor configuration structure |
- Return values
-
Definition at line 138 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_MspDeInit()
DeInitializes TIM Hall Sensor MSP.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 300 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_MspInit()
Initializes the TIM Hall Sensor MSP.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 285 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Start()
Starts the TIM Hall Sensor Interface.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 315 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Start_DMA()
HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA |
( |
TIM_HandleTypeDef * |
htim, |
|
|
uint32_t * |
pData, |
|
|
uint16_t |
Length |
|
) |
| |
Starts the TIM Hall Sensor Interface in DMA mode.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
pData | The destination Buffer address. |
Length | The length of data to be transferred from TIM peripheral to memory. |
- Return values
-
Definition at line 487 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Start_IT()
Starts the TIM Hall Sensor Interface in interrupt mode.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 397 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Stop()
Stops the TIM Hall sensor Interface.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 369 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Stop_DMA()
Stops the TIM Hall Sensor Interface in DMA mode.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 563 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_HallSensor_Stop_IT()
Stops the TIM Hall Sensor Interface in interrupt mode.
- Parameters
-
htim | TIM Hall Sensor Interface handle |
- Return values
-
Definition at line 454 of file stm32f4xx_hal_tim_ex.c.