<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/timer.c, branch v1.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-05-03T22:27:38+00:00</updated>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>stmhal: Remove #include &lt;stdint.h&gt; from mpconfigport.h.</title>
<updated>2014-05-03T12:24:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T12:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5874c1c92baac65834c4684e913ca0a7d8db8f50'/>
<id>urn:sha1:5874c1c92baac65834c4684e913ca0a7d8db8f50</id>
<content type='text'>
Make include dependencies neater, and adheres to the coding convention
that headers should not include headers.
</content>
</entry>
<entry>
<title>stmhal: Add documentation for DAC and Timer classes.</title>
<updated>2014-05-02T15:58:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-02T15:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3eb8163b16bc5b6ea30428b54dee60e5c7e9c98f'/>
<id>urn:sha1:3eb8163b16bc5b6ea30428b54dee60e5c7e9c98f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify names for argcheck.c / arg parsing.</title>
<updated>2014-04-26T10:19:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-26T10:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dbc81df5d4822b3a0fc31ea1c5684b0101e193dd'/>
<id>urn:sha1:dbc81df5d4822b3a0fc31ea1c5684b0101e193dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ARRAY_SIZE macro, and use it where possible.</title>
<updated>2014-04-26T09:47:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-26T09:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d3c5e4301df363055dc256e6692c610e4d0b918'/>
<id>urn:sha1:6d3c5e4301df363055dc256e6692c610e4d0b918</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal, timer: Remove obsolete global variable.</title>
<updated>2014-04-21T17:19:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-21T17:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6691c9e655c7ce98cb80a6629f890881e6c24f1a'/>
<id>urn:sha1:6691c9e655c7ce98cb80a6629f890881e6c24f1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add Timer class: simple TIM control, incl callback on IRQ.</title>
<updated>2014-04-21T15:48:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-21T15:48:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7fdfa93700e0f5a5381a57bca3c45865c720dc2f'/>
<id>urn:sha1:7fdfa93700e0f5a5381a57bca3c45865c720dc2f</id>
<content type='text'>
Simple but functional timer control.  More sophistication will
eventually be added, or for now just use direct register access :)

Also added pyb.freq() function to get MCU clock frequencies.
</content>
</entry>
<entry>
<title>stmhal: Improve flash storage cache management.</title>
<updated>2014-04-16T22:08:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-16T22:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d983539bcff2a540dd136a7e84e1db2b334528f'/>
<id>urn:sha1:6d983539bcff2a540dd136a7e84e1db2b334528f</id>
<content type='text'>
Internal flash used for the filesystem is now written (from the cache)
only after a 5s delay, or when a file is closed, or when the drive is
unmounted from the host.  This delay means that multiple writes can
accumulate in the cache, and leads to less writes to the flash, making
it last longer.

It's implemented by a high-priority interrupt that takes care of flash
erase and write, and flushing the cache.

This is still only an interim solution for the flash filesystem.  It
eventually needs to be replaced with something that uses less RAM for
the cache, something that can use more of the flash, and something that
does proper wear levelling.
</content>
</entry>
<entry>
<title>stmhal: Add ADC function to read data at a given frequency.</title>
<updated>2014-04-15T18:52:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-15T18:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d7f4eb6a924f4df458eda2e624f429d67ef2248'/>
<id>urn:sha1:4d7f4eb6a924f4df458eda2e624f429d67ef2248</id>
<content type='text'>
Reads ADC values into a bytearray (or similar) at a fixed rate.  Needs a
better name and improved API.  Also fix up DAC dma function (which also
needs a better name and API).
</content>
</entry>
<entry>
<title>py: Change nlr_jump to nlr_raise, to aid in debugging.</title>
<updated>2014-04-05T17:32:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T17:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea13f407a392593e7746131952a57bad222ee882'/>
<id>urn:sha1:ea13f407a392593e7746131952a57bad222ee882</id>
<content type='text'>
This does not affect code size or performance when debugging turned off.

To address issue #420.
</content>
</entry>
</feed>
