/
CPU_TS_Update
CPU_TS_Update
Description
Updates current 32- and 64-bit CPU timestamps.
Files
cpu_core.h/cpu_core.c
Prototype
void CPU_TS_Update (void);
Arguments
None.
Returned Value
None.
Required Configuration
Available only if either CPU_CFG_TS_32_EN
or CPU_CFG_TS_64_EN
is DEF_ENABLED
in cpu_cfg.h
. See Timestamps Configuration.
Notes / Warnings
- CPU timestamps must be updated periodically by some application (or BSP) time handler in order to adequately maintain the CPU timestamps’ time and must be updated more frequently than the CPU timestamp timer overflows; otherwise, CPU timestamps will lose time.
Example Usage
Listing - CPU_TS_Update() example usage
void AppPeriodicTimeHandler (void) { : CPU_TS_Update(); /* Update current CPU timestamps. */ : }
Related content
CPU_TS_Get64
CPU_TS_Get64
More like this
CPU_TS_Get32
CPU_TS_Get32
More like this
CPU_TS_TmrFreqSet
CPU_TS_TmrFreqSet
More like this
CPU_TS_TmrRd
CPU_TS_TmrRd
More like this
CPU_TS_TmrInit
CPU_TS_TmrInit
More like this
CPU_TS64_to_uSec
CPU_TS64_to_uSec
More like this