Event Recorder and Component Viewer  Version 1.4.0
MDK Debugger Views for Status and Event Information
 All Files Functions Macros Groups Pages
Event Recorder - Timer

Functions that access a configurable hardware timer. More...

Functions

uint32_t EventRecorderTimerInit (void)
 Initialize timer hardware. More...
 
uint32_t EventRecorderTimerGet (void)
 Get Time from timer hardware. More...
 

Description

Functions that access a configurable hardware timer.

This section contains user-provided functions, which configure and provide timing information for recorded events.

Note
ARM Cortex-M3/M4/M7/M33 processors provide a debug timer (DWT CYCCNT) that can be used during debug. Refer to DWT Programmers' model for more information.

Code Example

Function Documentation

uint32_t EventRecorderTimerGet ( void  )

Get Time from timer hardware.

Returns
timer value (32-bit)

Code Example

uint32_t EventRecorderTimerInit ( void  )

Initialize timer hardware.

Returns
timer frequency in Hz

Code Example