1.1.12.11 TIMER32_x_CounterGet Function

C

/* x = Timer32 instance number */

uint32_t TIMER32_x_CounterGet(void)

Summary

Returns the timer counter value

Description

Returns the timer counter value

Precondition

TIMER32_x_Initialize() function must have been called

Parameters

None

Returns

A 32-bit timer counter value

Example

uint32_t counterVal = TIMER32_0_CounterGet();

Remarks

None