summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/timer.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-25 18:12:44 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-25 18:12:44 +0100
commit34e43c7ee9700249dc6e5b333b7c264d45d6b530 (patch)
treeae9f69ed4447c994c16ee166af76d66f4a8dee1b /tests/pyb/timer.py.exp
parent3475b041018afe006fc792b504acef20c60426bc (diff)
downloadmicropython-34e43c7ee9700249dc6e5b333b7c264d45d6b530.tar.gz
micropython-34e43c7ee9700249dc6e5b333b7c264d45d6b530.zip
stmhal: Improve efficiency of SysTick IRQ and HAL_Delay.
SysTick IRQ now increases millisecond counter directly (ie without calling HAL_IncTick). Provide our own version of HAL_Delay that does a wfi while waiting. This more than halves power consumption when running a loop containing a pyb.delay call. It used to be like this, but new version of HAL library regressed this feature.
Diffstat (limited to 'tests/pyb/timer.py.exp')
0 files changed, 0 insertions, 0 deletions