|
STM32L4xx_HAL_Driver
1.14.0
|
TIM Input Capture functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_TIM_IC_Init (TIM_HandleTypeDef *htim) |
| Initializes the TIM Input Capture Time base according to the specified parameters in the TIM_HandleTypeDef and initializes the associated handle. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_DeInit (TIM_HandleTypeDef *htim) |
| DeInitializes the TIM peripheral. More... | |
| void | HAL_TIM_IC_MspInit (TIM_HandleTypeDef *htim) |
| Initializes the TIM Input Capture MSP. More... | |
| void | HAL_TIM_IC_MspDeInit (TIM_HandleTypeDef *htim) |
| DeInitializes TIM Input Capture MSP. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Start (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Input Capture measurement. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Stop (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Input Capture measurement. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Start_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Input Capture measurement in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Stop_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Input Capture measurement in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Start_DMA (TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) |
| Starts the TIM Input Capture measurement in DMA mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_IC_Stop_DMA (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Input Capture measurement in DMA mode. More... | |
TIM Input Capture functions.
==============================================================================
##### TIM Input Capture functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Initialize and configure the TIM Input Capture.
(+) De-initialize the TIM Input Capture.
(+) Start the TIM Input Capture.
(+) Stop the TIM Input Capture.
(+) Start the TIM Input Capture and enable interrupt.
(+) Stop the TIM Input Capture and disable interrupt.
(+) Start the TIM Input Capture and enable DMA transfer.
(+) Stop the TIM Input Capture and disable DMA transfer. | HAL_StatusTypeDef HAL_TIM_IC_DeInit | ( | TIM_HandleTypeDef * | htim | ) |
DeInitializes the TIM peripheral.
| htim | TIM Input Capture handle |
| HAL | status |
Definition at line 1807 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Init | ( | TIM_HandleTypeDef * | htim | ) |
Initializes the TIM Input Capture Time base according to the specified parameters in the TIM_HandleTypeDef and initializes the associated handle.
| htim | TIM Input Capture handle |
| HAL | status |
Definition at line 1755 of file stm32l4xx_hal_tim.c.
| __weak void HAL_TIM_IC_MspDeInit | ( | TIM_HandleTypeDef * | htim | ) |
DeInitializes TIM Input Capture MSP.
| htim | TIM handle |
| None |
Definition at line 1858 of file stm32l4xx_hal_tim.c.
| __weak void HAL_TIM_IC_MspInit | ( | TIM_HandleTypeDef * | htim | ) |
Initializes the TIM Input Capture MSP.
| htim | TIM Input Capture handle |
| None |
Definition at line 1843 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Start | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Input Capture measurement.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be enabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 1879 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Start_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel, | ||
| uint32_t * | pData, | ||
| uint16_t | Length | ||
| ) |
Starts the TIM Input Capture measurement in DMA mode.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be enabled This parameter can be one of the following values:
|
| pData | The destination Buffer address. |
| Length | The length of data to be transferred from TIM peripheral to memory. |
| HAL | status |
Definition at line 2064 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Start_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Input Capture measurement in interrupt mode.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be enabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 1937 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Stop | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Input Capture measurement.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 1911 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Input Capture measurement in DMA mode.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 2199 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_IC_Stop_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Input Capture measurement in interrupt mode.
| htim | TIM Input Capture handle |
| Channel | TIM Channels to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 2002 of file stm32l4xx_hal_tim.c.