STM32L443xx HAL User Manual
|
Functions | |
ErrorStatus | LL_LPTIM_DeInit (LPTIM_TypeDef *LPTIMx) |
Set LPTIMx registers to their reset values. | |
void | LL_LPTIM_StructInit (LL_LPTIM_InitTypeDef *LPTIM_InitStruct) |
Set each fields of the LPTIM_InitStruct structure to its default value. | |
ErrorStatus | LL_LPTIM_Init (LPTIM_TypeDef *LPTIMx, LL_LPTIM_InitTypeDef *LPTIM_InitStruct) |
Configure the LPTIMx peripheral according to the specified parameters. | |
void | LL_LPTIM_Disable (LPTIM_TypeDef *LPTIMx) |
Disable the LPTIM instance. |
ErrorStatus LL_LPTIM_DeInit | ( | LPTIM_TypeDef * | LPTIMx | ) |
Set LPTIMx registers to their reset values.
LPTIMx | LP Timer instance |
An | ErrorStatus enumeration value:
|
Definition at line 95 of file stm32l4xx_ll_lptim.c.
References assert_param, LL_APB1_GRP1_ForceReset(), LL_APB1_GRP1_PERIPH_LPTIM1, LL_APB1_GRP1_ReleaseReset(), LL_APB1_GRP2_ForceReset(), LL_APB1_GRP2_PERIPH_LPTIM2, and LL_APB1_GRP2_ReleaseReset().
Referenced by LL_LPTIM_Disable().
void LL_LPTIM_Disable | ( | LPTIM_TypeDef * | LPTIMx | ) |
Disable the LPTIM instance.
LPTIMx | Low-Power Timer instance |
None |
Definition at line 190 of file stm32l4xx_ll_lptim.c.
References assert_param, LL_LPTIM_ClearFlag_ARROK(), LL_LPTIM_ClearFlag_CMPOK(), LL_LPTIM_DeInit(), LL_LPTIM_IsActiveFlag_ARROK(), LL_LPTIM_IsActiveFlag_CMPOK(), LL_RCC_GetLPTIMClockSource(), LL_RCC_GetSystemClocksFreq(), LL_RCC_LPTIM1_CLKSOURCE, LL_RCC_LPTIM1_CLKSOURCE_PCLK1, LL_RCC_LPTIM2_CLKSOURCE, LL_RCC_LPTIM2_CLKSOURCE_PCLK1, LL_RCC_SetLPTIMClockSource(), and LL_RCC_ClocksTypeDef::SYSCLK_Frequency.
ErrorStatus LL_LPTIM_Init | ( | LPTIM_TypeDef * | LPTIMx, |
LL_LPTIM_InitTypeDef * | LPTIM_InitStruct | ||
) |
Configure the LPTIMx peripheral according to the specified parameters.
LPTIMx | LP Timer Instance |
LPTIM_InitStruct | pointer to a LL_LPTIM_InitTypeDef structure |
An | ErrorStatus enumeration value:
|
Definition at line 147 of file stm32l4xx_ll_lptim.c.
References assert_param, LL_LPTIM_InitTypeDef::ClockSource, IS_LL_LPTIM_CLOCK_PRESCALER, IS_LL_LPTIM_CLOCK_SOURCE, IS_LL_LPTIM_OUTPUT_POLARITY, IS_LL_LPTIM_WAVEFORM, LL_LPTIM_IsEnabled(), LL_LPTIM_InitTypeDef::Polarity, LL_LPTIM_InitTypeDef::Prescaler, and LL_LPTIM_InitTypeDef::Waveform.
void LL_LPTIM_StructInit | ( | LL_LPTIM_InitTypeDef * | LPTIM_InitStruct | ) |
Set each fields of the LPTIM_InitStruct structure to its default value.
LPTIM_InitStruct | pointer to a LL_LPTIM_InitTypeDef structure |
None |
Definition at line 128 of file stm32l4xx_ll_lptim.c.
References LL_LPTIM_InitTypeDef::ClockSource, LL_LPTIM_CLK_SOURCE_INTERNAL, LL_LPTIM_OUTPUT_POLARITY_REGULAR, LL_LPTIM_OUTPUT_WAVEFORM_PWM, LL_LPTIM_PRESCALER_DIV1, LL_LPTIM_InitTypeDef::Polarity, LL_LPTIM_InitTypeDef::Prescaler, and LL_LPTIM_InitTypeDef::Waveform.