Functions | |
HAL_StatusTypeDef | HAL_GPT_IC_Init (GPT_HandleTypeDef *htim) |
Initializes the TIM Input Capture Time base according to the specified parameters in the GPT_HandleTypeDef and create the associated handle. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_DeInit (GPT_HandleTypeDef *htim) |
DeInitializes the TIM peripheral. More... | |
void | HAL_GPT_IC_MspInit (GPT_HandleTypeDef *htim) |
Initializes the TIM INput Capture MSP. More... | |
void | HAL_GPT_IC_MspDeInit (GPT_HandleTypeDef *htim) |
DeInitializes TIM Input Capture MSP. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Start (GPT_HandleTypeDef *htim, uint32_t Channel) |
Starts the TIM Input Capture measurement. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Stop (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Input Capture measurement. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Start_IT (GPT_HandleTypeDef *htim, uint32_t Channel) |
Starts the TIM Input Capture measurement in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Stop_IT (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Input Capture measurement in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Start_DMA (GPT_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) |
Starts the TIM Input Capture measurement on in DMA mode. More... | |
HAL_StatusTypeDef | HAL_GPT_IC_Stop_DMA (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Input Capture measurement on in DMA mode. More... | |
HAL_StatusTypeDef HAL_GPT_IC_DeInit | ( | GPT_HandleTypeDef * | htim | ) |
DeInitializes the TIM peripheral.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
HAL | status |
HAL_StatusTypeDef HAL_GPT_IC_Init | ( | GPT_HandleTypeDef * | htim | ) |
Initializes the TIM Input Capture Time base according to the specified parameters in the GPT_HandleTypeDef and create the associated handle.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
HAL | status |
void HAL_GPT_IC_MspDeInit | ( | GPT_HandleTypeDef * | htim | ) |
DeInitializes TIM Input Capture MSP.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
None |
void HAL_GPT_IC_MspInit | ( | GPT_HandleTypeDef * | htim | ) |
Initializes the TIM INput Capture MSP.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
None |
HAL_StatusTypeDef HAL_GPT_IC_Start | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the TIM Input Capture measurement.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channels to be enabled. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_IC_Start_DMA | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel, | ||
uint32_t * | pData, | ||
uint16_t | Length | ||
) |
Starts the TIM Input Capture measurement on in DMA mode.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
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 |
HAL_StatusTypeDef HAL_GPT_IC_Start_IT | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the TIM Input Capture measurement in interrupt mode.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channels to be enabled. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_IC_Stop | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Input Capture measurement.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channels to be disabled. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_IC_Stop_DMA | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Input Capture measurement on in DMA mode.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channels to be disabled. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_IC_Stop_IT | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Input Capture measurement in interrupt mode.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channels to be disabled. This parameter can be one of the following values:
|
HAL | status |