Function system_cpu_clock_get_hz()

Retrieves the current frequency of the CPU core.

uint32_t system_cpu_clock_get_hz( void )

Retrieves the operating frequency of the CPU core, obtained from the main generic clock and the set CPU bus divider.

Returns

Current CPU frequency in Hz.