mco_system_get_hi_res_freq

This function returns the frequency of the high-resolution timer

Prototype

        timer_unit_hires mco_system_get_hi_res_freq(void);

Arguments

This function has no arguments

Description

This function returns the frequency of the high-resolution timer, expressed as the number of system ticks per second. It is used in conjunction with mco_system_get_hi_res_time().

See also set_system_get_current_time_function.

Files

Header file:
mcotime.h
Source file:
mcosaltimer.c
Library:
libmcosaltimer.a
Header file:
mcotime.h
Source file:
mcosalhollow.c
Library:
libmcosalhollow.a