1.28.7.3 GENERIC_TIMER_CounterFrequencyGet Function

C

uint32_t GENERIC_TIMER_CounterFrequencyGet(void)

Summary

Returns counter frequency.

Description

This function returns the configured source frequency (Hz) of the counter.

Precondition

GENERIC_TIMER_Initialize() should be called.

Parameters

None.

Returns

count source frequency in Hz.