• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 11804
98%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2019 11:34AM UTC
Jobs 1
Files 267
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11804

push

travis-ci

dpgeorge
stm32: Add machine.Timer with soft timer implementation.

This commit adds an implementation of machine.Timer backed by the soft
timer mechanism.  It allows an arbitrary number of timers with 1ms
resolution, with an associated Python callback.  The Python-level API
matches existing ports that have a soft timer, and is used as:

    from machine import Timer
    t = Timer(freq=10, callback=lambda t:print(t))
    ...
    t = Timer(mode=Timer.ONE_SHOT, period=2000, callback=lambda t:print(t))
    ...
    t.deinit()

18779 of 19155 relevant lines covered (98.04%)

351873.36 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11804.3 (NAME="unix coverage build and tests") 31 Oct 2019 11:34AM UTC 0
98.04
Travis Job 11804.3
Source Files on build 11804
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11804
  • 48b25a84 on github
  • Prev Build on master (#11800)
  • Next Build on master (#11808)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc