I need the ability to read the current core frequency from C. I do not want a bloated library, nor to execute a script and scrape the output (vcgencmd), nor to read the startup value from config.txt
I have looked through the registers, and can not find anything.
I need to calculate spi dividers dynamically.
V/r,
Mike