More low power work

This commit is contained in:
Joey Castillo
2021-05-09 12:19:40 -04:00
parent 7ff91a2f67
commit 7e9ef16a18
5 changed files with 33 additions and 41 deletions

View File

@@ -12,8 +12,12 @@
void watch_init(Watch *watch) {
memset(watch, 0, sizeof(*watch));
// use switching regulator
SUPC->VREG.bit.SEL = 1;
while(!SUPC->STATUS.bit.VREGRDY);
// TODO: use performance level 0
// _set_performance_level(0);
// hri_pm_write_PLCFG_PLDIS_bit(PM, true);
}
const uint8_t Character_Set[] =