|
STM32L4xx_HAL_Driver
1.14.0
|
Start-Stop operation functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_LPTIM_PWM_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM PWM generation. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_PWM_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM PWM generation. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_PWM_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM PWM generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_PWM_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM PWM generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM One pulse generation. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM One pulse generation. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM One pulse generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM One pulse generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM in Set once mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM Set once mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
| Start the LPTIM Set once mode in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the LPTIM Set once mode in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Encoder_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
| Start the Encoder interface. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Encoder_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the Encoder interface. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Encoder_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
| Start the Encoder interface in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Encoder_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the Encoder interface in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout) |
| Start the Timeout function. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the Timeout function. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout) |
| Start the Timeout function in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the Timeout function in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Counter_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
| Start the Counter mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Counter_Stop (LPTIM_HandleTypeDef *hlptim) |
| Stop the Counter mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Counter_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
| Start the Counter mode in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_LPTIM_Counter_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
| Stop the Counter mode in interrupt mode. More... | |
Start-Stop operation functions.
==============================================================================
##### LPTIM Start Stop operation functions #####
==============================================================================
[..] This section provides functions allowing to:
(+) Start the PWM mode.
(+) Stop the PWM mode.
(+) Start the One pulse mode.
(+) Stop the One pulse mode.
(+) Start the Set once mode.
(+) Stop the Set once mode.
(+) Start the Encoder mode.
(+) Stop the Encoder mode.
(+) Start the Timeout mode.
(+) Stop the Timeout mode.
(+) Start the Counter mode.
(+) Stop the Counter mode. | HAL_StatusTypeDef HAL_LPTIM_Counter_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period | ||
| ) |
Start the Counter mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1362 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Counter_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period | ||
| ) |
Start the Counter mode in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1434 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Counter_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Counter mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1409 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Counter_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Counter mode in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1498 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Encoder_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period | ||
| ) |
Start the Encoder interface.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1043 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Encoder_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period | ||
| ) |
Start the Encoder interface in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1121 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Encoder interface.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1093 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Encoder interface in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1178 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM One pulse generation.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 649 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM One pulse generation in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 721 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM One pulse generation.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 694 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM One pulse generation in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 793 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_PWM_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM PWM generation.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 451 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_PWM_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM PWM generation in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF |
| HAL | status |
Definition at line 523 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_PWM_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM PWM generation.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 496 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_PWM_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM PWM generation in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 595 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM in Set once mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 847 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Pulse | ||
| ) |
Start the LPTIM Set once mode in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 919 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM Set once mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 892 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the LPTIM Set once mode in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 991 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Timeout | ||
| ) |
Start the Timeout function.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Timeout | Specifies the TimeOut value to reset the counter. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1216 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
| uint32_t | Period, | ||
| uint32_t | Timeout | ||
| ) |
Start the Timeout function in interrupt mode.
| hlptim | LPTIM handle |
| Period | Specifies the Autoreload value. This parameter must be a value between 0x0000 and 0xFFFF. |
| Timeout | Specifies the TimeOut value to reset the counter. This parameter must be a value between 0x0000 and 0xFFFF. |
| HAL | status |
Definition at line 1285 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Timeout function.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1253 of file stm32l4xx_hal_lptim.c.
| HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
Stop the Timeout function in interrupt mode.
| hlptim | LPTIM handle |
| HAL | status |
Definition at line 1328 of file stm32l4xx_hal_lptim.c.