STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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. | |
HAL_StatusTypeDef | HAL_LPTIM_PWM_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM PWM generation. | |
HAL_StatusTypeDef | HAL_LPTIM_PWM_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
Start the LPTIM PWM generation in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_PWM_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM PWM generation in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
Start the LPTIM One pulse generation. | |
HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM One pulse generation. | |
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. | |
HAL_StatusTypeDef | HAL_LPTIM_OnePulse_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM One pulse generation in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse) |
Start the LPTIM in Set once mode. | |
HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM Set once mode. | |
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. | |
HAL_StatusTypeDef | HAL_LPTIM_SetOnce_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the LPTIM Set once mode in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Encoder_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
Start the Encoder interface. | |
HAL_StatusTypeDef | HAL_LPTIM_Encoder_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the Encoder interface. | |
HAL_StatusTypeDef | HAL_LPTIM_Encoder_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
Start the Encoder interface in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Encoder_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the Encoder interface in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout) |
Start the Timeout function. | |
HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the Timeout function. | |
HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout) |
Start the Timeout function in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_TimeOut_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the Timeout function in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Counter_Start (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
Start the Counter mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Counter_Stop (LPTIM_HandleTypeDef *hlptim) |
Stop the Counter mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Counter_Start_IT (LPTIM_HandleTypeDef *hlptim, uint32_t Period) |
Start the Counter mode in interrupt mode. | |
HAL_StatusTypeDef | HAL_LPTIM_Counter_Stop_IT (LPTIM_HandleTypeDef *hlptim) |
Stop the Counter mode in interrupt mode. | |
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_PWM_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
Start the LPTIM PWM generation.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
HAL | status |
Definition at line 452 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_CONTINUOUS, assert_param, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_PWM_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM PWM generation.
hlptim | LPTIM handle |
HAL | status |
Definition at line 507 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_PWM_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
Start the LPTIM PWM generation in interrupt mode.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF |
Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF |
HAL | status |
Definition at line 539 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_CONTINUOUS, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_WaitForFlag(), LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_PWM_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM PWM generation in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 624 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
Start the LPTIM One pulse generation.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
HAL | status |
Definition at line 675 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_SINGLE, assert_param, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM One pulse generation.
hlptim | LPTIM handle |
HAL | status |
Definition at line 730 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
Start the LPTIM One pulse generation in interrupt mode.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
HAL | status |
Definition at line 762 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_SINGLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_WaitForFlag(), LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM One pulse generation in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 847 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
Start the LPTIM in Set once mode.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
Pulse | Specifies the compare value. This parameter must be a value between 0x0000 and 0xFFFF. |
HAL | status |
Definition at line 899 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_SINGLE, assert_param, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM Set once mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 954 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Pulse ) |
#include <stm32f4xx_hal_lptim.h>
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 986 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_SINGLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_WaitForFlag(), LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the LPTIM Set once mode in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1071 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_IT_CMPM, LPTIM_IT_CMPOK, LPTIM_IT_EXTTRIG, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::Trigger.
HAL_StatusTypeDef HAL_LPTIM_Encoder_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period ) |
#include <stm32f4xx_hal_lptim.h>
Start the Encoder interface.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
HAL | status |
Definition at line 1120 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_CONTINUOUS, assert_param, LPTIM_InitTypeDef::Clock, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_CLOCK_POLARITY, IS_LPTIM_PERIOD, LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC, LPTIM_FLAG_ARROK, LPTIM_PRESCALER_DIV1, LPTIM_WaitForFlag(), LPTIM_ULPClockConfigTypeDef::Polarity, LPTIM_ClockConfigTypeDef::Prescaler, LPTIM_ClockConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::UltraLowPowerClock.
HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Encoder interface.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1179 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_Encoder_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period ) |
#include <stm32f4xx_hal_lptim.h>
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 1212 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_CONTINUOUS, assert_param, LPTIM_InitTypeDef::Clock, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_CLOCK_POLARITY, IS_LPTIM_PERIOD, LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC, LPTIM_FLAG_ARROK, LPTIM_IT_DOWN, LPTIM_IT_UP, LPTIM_PRESCALER_DIV1, LPTIM_WaitForFlag(), LPTIM_ULPClockConfigTypeDef::Polarity, LPTIM_ClockConfigTypeDef::Prescaler, LPTIM_ClockConfigTypeDef::Source, LPTIM_HandleTypeDef::State, and LPTIM_InitTypeDef::UltraLowPowerClock.
HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Encoder interface in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1289 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, LPTIM_IT_DOWN, LPTIM_IT_UP, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Timeout ) |
#include <stm32f4xx_hal_lptim.h>
Start the Timeout function.
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. |
HAL | status |
Definition at line 1332 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_CONTINUOUS, assert_param, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Timeout function.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1387 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period, | ||
uint32_t | Timeout ) |
#include <stm32f4xx_hal_lptim.h>
Start the Timeout function in interrupt mode.
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. |
HAL | status |
Definition at line 1424 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_COMPARE_SET, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_CONTINUOUS, __HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, IS_LPTIM_PERIOD, IS_LPTIM_PULSE, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_IT_CMPM, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Timeout function in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1500 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, __HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, LPTIM_IT_CMPM, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_Counter_Start | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period ) |
#include <stm32f4xx_hal_lptim.h>
Start the Counter mode.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
HAL | status |
Definition at line 1544 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_ENABLE, __HAL_LPTIM_START_CONTINUOUS, assert_param, LPTIM_InitTypeDef::Clock, LPTIM_InitTypeDef::CounterSource, HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_CLOCK_PRESCALERDIV1, IS_LPTIM_PERIOD, LPTIM_CLOCKSOURCE_ULPTIM, LPTIM_COUNTERSOURCE_EXTERNAL, LPTIM_FLAG_ARROK, LPTIM_WaitForFlag(), LPTIM_ClockConfigTypeDef::Prescaler, LPTIM_ClockConfigTypeDef::Source, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_Counter_Stop | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Counter mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1593 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_Counter_Start_IT | ( | LPTIM_HandleTypeDef * | hlptim, |
uint32_t | Period ) |
#include <stm32f4xx_hal_lptim.h>
Start the Counter mode in interrupt mode.
hlptim | LPTIM handle |
Period | Specifies the Autoreload value. This parameter must be a value between 0x0001 and 0xFFFF. |
HAL | status |
Definition at line 1623 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_AUTORELOAD_SET, __HAL_LPTIM_CLEAR_FLAG, __HAL_LPTIM_DISABLE, __HAL_LPTIM_ENABLE, __HAL_LPTIM_ENABLE_IT, __HAL_LPTIM_START_CONTINUOUS, __HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_IT, assert_param, LPTIM_InitTypeDef::Clock, LPTIM_InitTypeDef::CounterSource, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_CLOCK_PRESCALERDIV1, IS_LPTIM_PERIOD, LPTIM_CLOCKSOURCE_ULPTIM, LPTIM_COUNTERSOURCE_EXTERNAL, LPTIM_FLAG_ARROK, LPTIM_IT_ARRM, LPTIM_IT_ARROK, LPTIM_WaitForFlag(), LPTIM_ClockConfigTypeDef::Prescaler, LPTIM_ClockConfigTypeDef::Source, and LPTIM_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LPTIM_Counter_Stop_IT | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Stop the Counter mode in interrupt mode.
hlptim | LPTIM handle |
HAL | status |
Definition at line 1696 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_LPTIM_DISABLE_IT, __HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_IT, assert_param, HAL_LPTIM_GetState(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, LPTIM_IT_ARRM, LPTIM_IT_ARROK, and LPTIM_HandleTypeDef::State.