Event Recorder and Component Viewer  Version 1.3.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 EventRecorderTimerSetup (void)
 Setup timer hardware. More...
 
uint32_t EventRecorderTimerGetFreq (void)
 Get timer frequency. More...
 
uint32_t EventRecorderTimerGetCount (void)
 Get timer count. 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 EventRecorderTimerGetCount ( void  )

Get timer count.

Returns
timer count (32-bit)

Code Example

uint32_t EventRecorderTimerGetFreq ( void  )

Get timer frequency.

Returns
timer frequency in Hz

Code Example

uint32_t EventRecorderTimerSetup ( void  )

Setup timer hardware.

Returns
status (1=Success, 0=Failure)

Code Example