eLooM for STM32 application
v3.3.0
|
Driver for the timestamp service that use an hardware timer. More...
Go to the source code of this file.
Data Structures | |
struct | _SYS_TIMParams_t |
struct | _HwTSDriverParams_t |
struct | _HwTSDriver_t |
Typedefs | |
typedef struct _HwTSDriverParams_t | HwTSDriverParams_t |
typedef struct _HwTSDriver_t | HwTSDriver_t |
typedef struct _SYS_TIMParams_t | SYS_TIMParams_t |
Functions | |
IDriver * | HwTSDriverAlloc (void) |
Driver for the timestamp service that use an hardware timer.
This driver uses an hardware timer to generate the tick for the timestamp service. To use this driver the configuration parameter SYS_TS_CFG_TSDRIVER_FREQ_HZ must be set to the address of a timer configuration structure compatible with SYS_TIMParams_t, and the SYS_TS_CFG_TSDRIVER_PARAMS parameter must be set to the clock frequency in Hz of the hardware timer.
This driver needs a dedicated hardware resource, but on the other side its resolution is not limited by the RTOS tick.
Copyright (c) 2022 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
typedef struct _HwTSDriver_t HwTSDriver_t |
Create type name for _HwTSDriver_t.
typedef struct _HwTSDriverParams_t HwTSDriverParams_t |
Create type name for _HwTSDriver_t.
typedef struct _SYS_TIMParams_t SYS_TIMParams_t |
HW Timer configuration parameters.