Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement hysteresis like temperature up and down.
When die junction temperature reaches LIMIT1_UP set warning and start lowering it by decreasing CPU frequency. When temperature reaches LIMIT1_DOWN then get CPU back to max speed. LIMIT_SHUTDOWN is hard limit to minimize power consumption by shutting down as much as possible. Those temperatures are all die junction temperatures. Ambient should be much less than those (typically 50-60c).
- Loading branch information
Showing
1 changed file
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters