Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
LPTIM Read operation functions
[LPTIM Exported Functions]
Read operation functions. More...
Functions | |
uint32_t | HAL_LPTIM_ReadCounter (LPTIM_HandleTypeDef *hlptim) |
Return the current counter value. | |
uint32_t | HAL_LPTIM_ReadAutoReload (LPTIM_HandleTypeDef *hlptim) |
Return the current Autoreload (Period) value. | |
uint32_t | HAL_LPTIM_ReadCompare (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
uint32_t HAL_LPTIM_ReadAutoReload | ( | LPTIM_HandleTypeDef * | hlptim ) |
Return the current Autoreload (Period) value.
- Parameters:
-
hlptim,: LPTIM handle
- Return values:
-
Autoreload value.
Definition at line 1380 of file stm32l4xx_hal_lptim.c.
uint32_t HAL_LPTIM_ReadCompare | ( | LPTIM_HandleTypeDef * | hlptim ) |
Return the current Compare (Pulse) value.
- Parameters:
-
hlptim,: LPTIM handle
- Return values:
-
Compare value.
Definition at line 1393 of file stm32l4xx_hal_lptim.c.
uint32_t HAL_LPTIM_ReadCounter | ( | LPTIM_HandleTypeDef * | hlptim ) |
Return the current counter value.
- Parameters:
-
hlptim,: LPTIM handle
- Return values:
-
Counter value.
Definition at line 1367 of file stm32l4xx_hal_lptim.c.
Generated on Tue Jul 12 2022 17:38:53 by
