1.7.10.7 DWT_CounterGet Function

C

uint32_t DWT_CounterGet(void)

Summary

Get the cycle counter current Value

Description

This function returns the cycle counter current value

Precondition

DWT_Initialize must have been called

Parameters

None.

Returns

Returns cycle counter current Value

Example

uint32_t value;

value = DWT_CounterGet();