STM32F4xx_HAL_Driver  1.8.3
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. More...
 
uint32_t HAL_LPTIM_ReadAutoReload (const LPTIM_HandleTypeDef *hlptim)
 Return the current Autoreload (Period) value. More...
 
uint32_t HAL_LPTIM_ReadCompare (const LPTIM_HandleTypeDef *hlptim)
 Return the current Compare (Pulse) value. More...
 

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_ReadAutoReload()

uint32_t HAL_LPTIM_ReadAutoReload ( const LPTIM_HandleTypeDef hlptim)

Return the current Autoreload (Period) value.

Parameters
hlptimLPTIM handle
Return values
Autoreloadvalue.

Definition at line 1769 of file stm32f4xx_hal_lptim.c.

◆ HAL_LPTIM_ReadCompare()

uint32_t HAL_LPTIM_ReadCompare ( const LPTIM_HandleTypeDef hlptim)

Return the current Compare (Pulse) value.

Parameters
hlptimLPTIM handle
Return values
Comparevalue.

Definition at line 1782 of file stm32f4xx_hal_lptim.c.

◆ HAL_LPTIM_ReadCounter()

uint32_t HAL_LPTIM_ReadCounter ( const LPTIM_HandleTypeDef hlptim)

Return the current counter value.

Parameters
hlptimLPTIM handle
Return values
Countervalue.

Definition at line 1756 of file stm32f4xx_hal_lptim.c.