Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Gets current 32-bit CPU timestamp.

Files

cpu_core.h/cpu_core.c

Prototype

Arguments

None.

Returned Value

None.

Required Configuration

Available only if CPU_CFG_TS_32_EN is DEF_ENABLED in cpu_cfg.h. See Timestamps Configuration.

Notes / Warnings

  1. The amount of time measured by CPU timestamps is calculated by either of the following equations:

...

Number timer counts

Number of timer counts measured

Timer frequency

Timer’s frequency in some units of counts per second

Time measured

Amount of time measured, in seconds

Example Usage