STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
LPTIM Read operation functions

Read operation functions. More...

Collaboration diagram for LPTIM Read operation functions:

Functions

uint32_t HAL_LPTIM_ReadCounter (const LPTIM_HandleTypeDef *hlptim)
 Return the current counter value.
 
uint32_t HAL_LPTIM_ReadAutoReload (const LPTIM_HandleTypeDef *hlptim)
 Return the current Autoreload (Period) value.
 
uint32_t HAL_LPTIM_ReadCompare (const LPTIM_HandleTypeDef *hlptim)
 Return the current Compare (Pulse) value.
 

Detailed Description

Read operation functions.

  ==============================================================================
                  ##### LPTIM Read operation functions #####
  ==============================================================================
[..]  This section provides LPTIM Reading functions.
      (+) Read the counter value.
      (+) Read the period (Auto-reload) value.
      (+) Read the pulse (Compare)value.

Function Documentation

◆ HAL_LPTIM_ReadCounter()

uint32_t HAL_LPTIM_ReadCounter ( const LPTIM_HandleTypeDef * hlptim)

#include <stm32f4xx_hal_lptim.h>

Return the current counter value.

Parameters
hlptimLPTIM handle
Return values
Countervalue.

Definition at line 1756 of file stm32f4xx_hal_lptim.c.

References assert_param, and LPTIM_HandleTypeDef::Instance.

◆ HAL_LPTIM_ReadAutoReload()

uint32_t HAL_LPTIM_ReadAutoReload ( const LPTIM_HandleTypeDef * hlptim)

#include <stm32f4xx_hal_lptim.h>

Return the current Autoreload (Period) value.

Parameters
hlptimLPTIM handle
Return values
Autoreloadvalue.

Definition at line 1769 of file stm32f4xx_hal_lptim.c.

References assert_param, and LPTIM_HandleTypeDef::Instance.

◆ HAL_LPTIM_ReadCompare()

uint32_t HAL_LPTIM_ReadCompare ( const LPTIM_HandleTypeDef * hlptim)

#include <stm32f4xx_hal_lptim.h>

Return the current Compare (Pulse) value.

Parameters
hlptimLPTIM handle
Return values
Comparevalue.

Definition at line 1782 of file stm32f4xx_hal_lptim.c.

References assert_param, and LPTIM_HandleTypeDef::Instance.