Jump to main content

##

# 2.101.9 RTOSTimer_CounterGet Function

## C

    uint32_t RTOSTimer_CounterGet(void)

## Summary

Returns the timer counter value for the RTOS timer

## Description

Returns the timer counter value for the RTOS timer

## Precondition

RTOSTimer_Initialize() function must have been called first.

## Parameters

None

## Returns

32-bit timer counter value

## Example

    uint32_t counter = RTOSTimer_CounterGet();

## Remarks

None