diff options
author | Damien George <damien.p.george@gmail.com> | 2020-01-07 23:59:29 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-01-07 23:59:29 +1100 |
commit | e3187b052f14872fdb5e2d2338d359013a544fae (patch) | |
tree | abd2950849e31413abfc6d96827811adbb5ec952 /py/objtuple.c | |
parent | 54a2584de10103ba3e559de1034cc76962ec681e (diff) | |
download | micropython-e3187b052f14872fdb5e2d2338d359013a544fae.tar.gz micropython-e3187b052f14872fdb5e2d2338d359013a544fae.zip |
stm32/boards/PYBD: Change RTC asynch prediv from 1 to 4.
This change has the following effects:
- Reduces the resolution of the RTC sub-second counter from 30.52us to
122.07us.
- Allows RTC.calibration() to now support positive values (as well as
negative values).
- Reduces VBAT current consumption in standby mode by a small amount.
For general purpose use 122us resolution of the sub-second counter is
good enough, and the benefits of full range calibration and minor reduction
in VBAT consumption are worth the change.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions