STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_LPTIM_Init (LPTIM_HandleTypeDef *hlptim) |
Initialize the LPTIM according to the specified parameters in the LPTIM_InitTypeDef and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_LPTIM_DeInit (LPTIM_HandleTypeDef *hlptim) |
DeInitialize the LPTIM peripheral. | |
void | HAL_LPTIM_MspInit (LPTIM_HandleTypeDef *hlptim) |
Initialize the LPTIM MSP. | |
void | HAL_LPTIM_MspDeInit (LPTIM_HandleTypeDef *hlptim) |
DeInitialize LPTIM MSP. | |
Initialization and Configuration functions.
============================================================================== ##### Initialization and de-initialization functions ##### ============================================================================== [..] This section provides functions allowing to: (+) Initialize the LPTIM according to the specified parameters in the LPTIM_InitTypeDef and initialize the associated handle. (+) DeInitialize the LPTIM peripheral. (+) Initialize the LPTIM MSP. (+) DeInitialize the LPTIM MSP.
HAL_StatusTypeDef HAL_LPTIM_Init | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Initialize the LPTIM according to the specified parameters in the LPTIM_InitTypeDef and initialize the associated handle.
hlptim | LPTIM handle |
HAL | status |
Definition at line 220 of file stm32f4xx_hal_lptim.c.
References LPTIM_TriggerConfigTypeDef::ActiveEdge, assert_param, LPTIM_InitTypeDef::Clock, LPTIM_InitTypeDef::CounterSource, HAL_ERROR, HAL_LPTIM_MspInit(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_READY, HAL_LPTIM_STATE_RESET, HAL_OK, HAL_UNLOCKED, LPTIM_HandleTypeDef::Init, LPTIM_HandleTypeDef::Instance, IS_LPTIM_CLOCK_POLARITY, IS_LPTIM_CLOCK_PRESCALER, IS_LPTIM_CLOCK_SAMPLE_TIME, IS_LPTIM_CLOCK_SOURCE, IS_LPTIM_COUNTER_SOURCE, IS_LPTIM_EXT_TRG_POLARITY, IS_LPTIM_OUTPUT_POLARITY, IS_LPTIM_TRG_SOURCE, IS_LPTIM_TRIG_SAMPLE_TIME, IS_LPTIM_UPDATE_MODE, LPTIM_HandleTypeDef::Lock, LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC, LPTIM_CLOCKSOURCE_ULPTIM, LPTIM_COUNTERSOURCE_EXTERNAL, LPTIM_TRIGSOURCE_SOFTWARE, LPTIM_InitTypeDef::OutputPolarity, LPTIM_ULPClockConfigTypeDef::Polarity, LPTIM_ClockConfigTypeDef::Prescaler, LPTIM_TriggerConfigTypeDef::SampleTime, LPTIM_ULPClockConfigTypeDef::SampleTime, LPTIM_ClockConfigTypeDef::Source, LPTIM_TriggerConfigTypeDef::Source, LPTIM_HandleTypeDef::State, LPTIM_InitTypeDef::Trigger, LPTIM_InitTypeDef::UltraLowPowerClock, and LPTIM_InitTypeDef::UpdateMode.
HAL_StatusTypeDef HAL_LPTIM_DeInit | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
DeInitialize the LPTIM peripheral.
hlptim | LPTIM handle |
HAL | status |
Definition at line 341 of file stm32f4xx_hal_lptim.c.
References __HAL_LPTIM_DISABLE, __HAL_UNLOCK, HAL_ERROR, HAL_LPTIM_GetState(), HAL_LPTIM_MspDeInit(), HAL_LPTIM_STATE_BUSY, HAL_LPTIM_STATE_RESET, HAL_LPTIM_STATE_TIMEOUT, HAL_OK, HAL_TIMEOUT, and LPTIM_HandleTypeDef::State.
__weak void HAL_LPTIM_MspInit | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
Initialize the LPTIM MSP.
hlptim | LPTIM handle |
None |
Definition at line 388 of file stm32f4xx_hal_lptim.c.
References UNUSED.
Referenced by HAL_LPTIM_Init().
__weak void HAL_LPTIM_MspDeInit | ( | LPTIM_HandleTypeDef * | hlptim | ) |
#include <stm32f4xx_hal_lptim.h>
DeInitialize LPTIM MSP.
hlptim | LPTIM handle |
None |
Definition at line 403 of file stm32f4xx_hal_lptim.c.
References UNUSED.
Referenced by HAL_LPTIM_DeInit().