Versions Compared

Key

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

Description

Gets (non-resetable) maximum interrupts disabled time.

Files

cpu_core.h/cpu_core.c

Prototype

Code Block
languagecpp
          CPU_TS_TMR  CPU_IntDisMeasMaxGet (void);


Arguments

None.

Returned Value

(Non-resetable) maximum interrupts disabled time (in CPU timestamp timer counts).

Required Configuration

Available only if CPU_CFG_INT_DIS_MEAS_EN is #define'd in cpu_cfg.h (see µC/CPU . See Interrupts Disabled Time Measurement )Configuration.

Notes / Warnings

None.

Example Usage

Anchor
Listing - CPU_IntDisMeasMaxGet() example usage
Listing - CPU_IntDisMeasMaxGet() example usage

Code Block
languagecpp
titleListing - CPU_IntDisMeasMaxGet() example usage
linenumberstrue
          CPU_TS_TMR  time_max_cnts;
           
          time_max_cnts = CPU_IntDisMeasMaxGet();  /* Get maximum interrupts disabled time. */