<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/timer.c, branch v1.3.10</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-02-13T11:57:29+00:00</updated>
<entry>
<title>stmhal: Properly deinit timer object.</title>
<updated>2015-02-13T11:57:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-13T11:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=418ec8bbbab70ec21486b37860f106f09f2e6f11'/>
<id>urn:sha1:418ec8bbbab70ec21486b37860f106f09f2e6f11</id>
<content type='text'>
Addresses issue #1113.
</content>
</entry>
<entry>
<title>stmhal: Allow to build without float support if wanted.</title>
<updated>2015-01-08T17:55:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-08T17:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a53ac8ec269c91b9ccb79a521a6ba31b0bb1c9d'/>
<id>urn:sha1:7a53ac8ec269c91b9ccb79a521a6ba31b0bb1c9d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Collect all root pointers together in 1 place.</title>
<updated>2015-01-07T23:38:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-07T23:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3b51b3e90f1d513031ad2c6b6a2a0d5d391f753d'/>
<id>urn:sha1:3b51b3e90f1d513031ad2c6b6a2a0d5d391f753d</id>
<content type='text'>
A GC in stmhal port now only scans true root pointers, not entire BSS.
This reduces base GC time from 1700ms to 900ms.
</content>
</entry>
<entry>
<title>stmhal: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T21:06:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T21:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2cf6dfa280a8149941aafc852fbaae8bdfc4999e'/>
<id>urn:sha1:2cf6dfa280a8149941aafc852fbaae8bdfc4999e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modsys: Add sys.print_exception(exc, file=sys.stdout) function.</title>
<updated>2014-12-08T20:25:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-06T12:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=46c3ab20049af16e97863e90e5761fae329f872a'/>
<id>urn:sha1:46c3ab20049af16e97863e90e5761fae329f872a</id>
<content type='text'>
The function is modeled after traceback.print_exception(), but unbloated,
and put into existing module to save overhead on adding another module.
Compliant traceback.print_exception() is intended to be implemented in
micropython-lib in terms of sys.print_exception().

This change required refactoring mp_obj_print_exception() to take pfenv_t
interface arguments.

Addresses #751.
</content>
</entry>
<entry>
<title>Add support for complimentary channel output and deadtime.</title>
<updated>2014-10-10T20:54:03+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-10-10T16:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1c795445b31a73bcff71eac4ce56827554b4f29f'/>
<id>urn:sha1:1c795445b31a73bcff71eac4ce56827554b4f29f</id>
<content type='text'>
This patch enables output on the complimentary channels (TIMx_CHyN).
For timers 1 and 8, deadtime can also be inserted when the channels
transition. For the pyboard, TIM8_CH1/CH1N and TIM8_CH2/CH2N can
take advantage of this.
</content>
</entry>
<entry>
<title>stmhal: Use mp_uint_t where appropriate.</title>
<updated>2014-10-05T20:51:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-05T20:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d03c6816083c8ce8a35d278ede48c4089012b055'/>
<id>urn:sha1:d03c6816083c8ce8a35d278ede48c4089012b055</id>
<content type='text'>
Found these by compiling stmhal with mp_uint_t of type uint32_t instead
of unsigned int.  This actually makes a difference to the code, but just
a curiosity.
</content>
</entry>
<entry>
<title>stmhal, timer: Fix timer.chanel so mode can be a keyword.</title>
<updated>2014-10-05T16:52:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-04T14:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ba0383a8c7b2fb394a7d2bc7a67cab7fc3200263'/>
<id>urn:sha1:ba0383a8c7b2fb394a7d2bc7a67cab7fc3200263</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal, timer: Improve accuracy of freq computation.</title>
<updated>2014-10-05T16:52:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-04T13:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f68b3ce809cb6331fb500fa10331b16cbc6c13'/>
<id>urn:sha1:55f68b3ce809cb6331fb500fa10331b16cbc6c13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal, timer: Set freq from float; get timer source freq.</title>
<updated>2014-10-05T16:52:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-04T13:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97ef94df83238e58fd7a084c3ca0e8af164136e0'/>
<id>urn:sha1:97ef94df83238e58fd7a084c3ca0e8af164136e0</id>
<content type='text'>
Timers now have the following new features:
- can init freq using floating point; eg tim.init(freq=0.1)
- tim.source_freq() added to get freq of timer clock source
- tim.freq() added to get/set freq
- print(tim) now prints freq
</content>
</entry>
</feed>
