Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Timer Hall Sensor functions
[TIMEx Exported Functions]
Timer Hall Sensor functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Init (TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sConfig) |
| Initializes the TIM Hall Sensor Interface and create the associated handle. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_DeInit (TIM_HandleTypeDef *htim) |
| DeInitializes the TIM Hall Sensor interface. | |
| __weak void | HAL_TIMEx_HallSensor_MspInit (TIM_HandleTypeDef *htim) |
| Initializes the TIM Hall Sensor MSP. | |
| __weak void | HAL_TIMEx_HallSensor_MspDeInit (TIM_HandleTypeDef *htim) |
| DeInitializes TIM Hall Sensor MSP. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Start (TIM_HandleTypeDef *htim) |
| Starts the TIM Hall Sensor Interface. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Stop (TIM_HandleTypeDef *htim) |
| Stops the TIM Hall sensor Interface. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Start_IT (TIM_HandleTypeDef *htim) |
| Starts the TIM Hall Sensor Interface in interrupt mode. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Stop_IT (TIM_HandleTypeDef *htim) |
| Stops the TIM Hall Sensor Interface in interrupt mode. | |
| 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. | |
| HAL_StatusTypeDef | HAL_TIMEx_HallSensor_Stop_DMA (TIM_HandleTypeDef *htim) |
| Stops the TIM Hall Sensor Interface in DMA mode. | |
Detailed Description
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.
Function Documentation
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit | ( | TIM_HandleTypeDef * | htim ) |
DeInitializes the TIM Hall Sensor interface.
- Parameters:
-
htim : TIM Hall Sensor handle
- Return values:
-
HAL status
Definition at line 245 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init | ( | TIM_HandleTypeDef * | htim, |
| TIM_HallSensor_InitTypeDef * | sConfig | ||
| ) |
Initializes the TIM Hall Sensor Interface and create the associated handle.
- Parameters:
-
htim : TIM Encoder Interface handle sConfig : TIM Hall Sensor configuration structure
- Return values:
-
HAL status
Definition at line 167 of file stm32f1xx_hal_tim_ex.c.
| __weak void HAL_TIMEx_HallSensor_MspDeInit | ( | TIM_HandleTypeDef * | htim ) |
DeInitializes TIM Hall Sensor MSP.
- Parameters:
-
htim : TIM handle
- Return values:
-
None
Definition at line 286 of file stm32f1xx_hal_tim_ex.c.
| __weak void HAL_TIMEx_HallSensor_MspInit | ( | TIM_HandleTypeDef * | htim ) |
Initializes the TIM Hall Sensor MSP.
- Parameters:
-
htim : TIM handle
- Return values:
-
None
Definition at line 272 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start | ( | TIM_HandleTypeDef * | htim ) |
Starts the TIM Hall Sensor Interface.
- Parameters:
-
htim : TIM Hall Sensor handle
- Return values:
-
HAL status
Definition at line 300 of file stm32f1xx_hal_tim_ex.c.
| 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 handle pData : The destination Buffer address. Length : The length of data to be transferred from TIM peripheral to memory.
- Return values:
-
HAL status
Definition at line 392 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT | ( | TIM_HandleTypeDef * | htim ) |
Starts the TIM Hall Sensor Interface in interrupt mode.
- Parameters:
-
htim : TIM Hall Sensor handle
- Return values:
-
HAL status
Definition at line 342 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop | ( | TIM_HandleTypeDef * | htim ) |
Stops the TIM Hall sensor Interface.
- Parameters:
-
htim : TIM Hall Sensor handle
- Return values:
-
HAL status
Definition at line 321 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA | ( | TIM_HandleTypeDef * | htim ) |
Stops the TIM Hall Sensor Interface in DMA mode.
- Parameters:
-
htim : TIM handle
- Return values:
-
HAL status
Definition at line 439 of file stm32f1xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT | ( | TIM_HandleTypeDef * | htim ) |
Stops the TIM Hall Sensor Interface in interrupt mode.
- Parameters:
-
htim : TIM handle
- Return values:
-
HAL status
Definition at line 366 of file stm32f1xx_hal_tim_ex.c.
Generated on Tue Jul 12 2022 15:37:32 by
1.7.2