1.2.7.7 1.6.9.7 1.7.10.7 1.8.6.7 1.9.6.7 1.32.10.7 1.34.4.7 1.35.3.7 1.36.5.7 1.42.2.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();