Content-Length: 329654 | pFad | http://github.com/micropython/micropython/wiki/Timer-Implementation

F0 Timer Implementation · micropython/micropython Wiki · GitHub
Skip to content

Timer Implementation

Neon22 edited this page Feb 5, 2014 · 3 revisions

Ideally we have to come to a compromise where for space:

  • exposing the functionality in C.
  • propogating it up to a Python interface.

and for features:

  • gettng easy access to the registers so anything can be done.
  • exposing useful interfaces for general use.

Finding the right balance is a challenge...

Proposal:

  1. Expose the registers so a sophisticated user can manipulate all possibilities with care.
  2. Expose a useful basic interface subset in C and expose as Python class.

Its possible we want to add safety into 1 so that (say) changing a timing mode bit deactivates the clock and bricks the device - is made more difficult.

##Plan:

Clone this wiki locally








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/micropython/micropython/wiki/Timer-Implementation

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy