STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
LPTIM Private Functions
Collaboration diagram for LPTIM Private Functions:

Functions

void LPTIM_Disable (LPTIM_HandleTypeDef *hlptim)
 Disable LPTIM HW instance.
 

Detailed Description

Function Documentation

◆ LPTIM_Disable()

void LPTIM_Disable ( LPTIM_HandleTypeDef * hlptim)

#include <stm32f4xx_hal_lptim.h>

Disable LPTIM HW instance.

Parameters
hlptimpointer to a LPTIM_HandleTypeDef structure that contains the configuration information for LPTIM module.
Note
The following sequence is required to solve LPTIM disable HW limitation. Please check Errata Sheet ES0335 for more details under "MCU may remain stuck in LPTIM interrupt when entering Stop mode" section.
Return values
None

Definition at line 2355 of file stm32f4xx_hal_lptim.c.

References __HAL_LPTIM_CLEAR_FLAG, HAL_LPTIM_STATE_TIMEOUT, HAL_TIMEOUT, LPTIM_HandleTypeDef::Instance, LPTIM_FLAG_ARROK, LPTIM_FLAG_CMPOK, LPTIM_WaitForFlag(), and LPTIM_HandleTypeDef::State.