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

  1. 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. */
              :
          }