1.6.7.4 1.7.8.4 1.10.8.4 1.11.9.4 1.12.8.4 1.13.8.4 1.22.10.4 1.23.9.4 1.24.8.4 DMT_CounterGet Function

C

uint32_t DMT_CounterGet( void )

Summary

Returns the DMT current counter value.

Description

This function returns the current DMT counter value. The value is the number of instructions counted since the count was last cleared.

Precondition

DMT must be enabled using DMT_Enable().

Parameters

None.

Returns

The current counter value.

Example

uint32_t value = 0;

DMT_Enable();
value = DMT_CounterGet();

Remarks

None.