Function rc_cpu_get_freq¶
Defined in File cpu.h
Function Documentation¶
-
int rc_cpu_get_freq(void)¶
Returns the current clock speed of the Beaglebone’s Sitara processor in the form of the provided enumerated type. It will never return the FREQ_ONDEMAND value as the intention of this function is to see the clock speed as set by either the user or the ondemand governor itself.
- Returns
frequency in hz