HAL
HAL_LPTIM_TimeOut_Start_IT() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALHAL_LPTIM_TimeOut_Start_IT()

HAL_LPTIM_TimeOut_Start_IT() function

Start the Timeout function in interrupt mode.

Syntax

HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT(LPTIM_HandleTypeDef *hlptim,     uint32_t Period,     uint32_t Timeout);
Implemented in stm32f4xx_hal_lptim.c:1424

Arguments

hlptim

LPTIM handle

Period

Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF.

Timeout

Specifies the TimeOut value to reset the counter. This parameter must be a value between 0x0000 and 0xFFFF.

Return value

HAL status

Notes

The first trigger event will start the timer, any successive trigger event will reset the counter and the timer restarts.

References

LocationText
stm32f4xx_hal_lptim.c:1424
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout)
stm32f4xx_hal_lptim.h:673
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout);