cpufreq
— CPU Frequency Control¶
The cpufreq
module is used to get/set the CPU frequency to save power.
Note
This module is not supported on the OpenMV Cam M4 because the CPU frequency, for various reasons, cannot be set independently of peripherals.
Functions¶
- cpufreq.set_frequency(supported_frequency: int) None ¶
Sets the CPU frequency to a supported frequency in MHz. Peripherals frequencies are not changed. Only the CPU performance.