diff options
author | Alex Maestas <git@se30.xyz> | 2024-01-22 00:31:27 +0000 |
---|---|---|
committer | Alex Maestas <git@se30.xyz> | 2024-01-22 00:39:20 +0000 |
commit | af49d3cfcb5437cf2c476197095fed0210c87ff5 (patch) | |
tree | 149916f21fdb0bcc6302b84b899320812798860f | |
parent | 2ae8f9863bdb01cb57696548d4b0f7f29a92b3fd (diff) | |
download | Sensor-Watch-af49d3cfcb5437cf2c476197095fed0210c87ff5.tar.gz Sensor-Watch-af49d3cfcb5437cf2c476197095fed0210c87ff5.tar.bz2 Sensor-Watch-af49d3cfcb5437cf2c476197095fed0210c87ff5.zip |
annotate voltage regulation erratum
-rw-r--r-- | watch-library/hardware/watch/watch_private.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/watch-library/hardware/watch/watch_private.c b/watch-library/hardware/watch/watch_private.c index 1a33e5c5..002a168a 100644 --- a/watch-library/hardware/watch/watch_private.c +++ b/watch-library/hardware/watch/watch_private.c @@ -35,7 +35,9 @@ void _watch_init(void) { // Use switching regulator for lower power consumption. SUPC->VREG.bit.SEL = 1; - // work around a silicon erratum that causes the microcontroller to lock up on leaving standby: + + // per Microchip datasheet clarification DS80000782, + // work around silicon erratum 1.7.2, which causes the microcontroller to lock up on leaving standby: // request that the voltage regulator run in standby, and also that it switch to PL0. SUPC->VREG.bit.RUNSTDBY = 1; SUPC->VREG.bit.STDBYPL0 = 1; |