<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/timer.c, branch v1.4.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-07-29T23:38:25+00:00</updated>
<entry>
<title>stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.</title>
<updated>2015-07-29T23:38:25+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-07-28T15:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea8bf8105812b36fbf1596a78c6e14aa0a0c5a36'/>
<id>urn:sha1:ea8bf8105812b36fbf1596a78c6e14aa0a0c5a36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Allow ADC.read_timed to take Timer object in place of freq.</title>
<updated>2015-07-22T18:41:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-22T18:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7693ef3bd6e4456105c86909174a00f535a19261'/>
<id>urn:sha1:7693ef3bd6e4456105c86909174a00f535a19261</id>
<content type='text'>
This allows a user-specified Timer for the triggering of the ADC read,
mirroring the new behaviour of DAC.write_timed.

Addresses issue #1129.
</content>
</entry>
<entry>
<title>stmhal: Allow DAC.write_timed to take Timer object in place of freq.</title>
<updated>2015-07-21T22:39:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-21T22:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=abc24c187614e358faa10ed6a3e239151f70b9f8'/>
<id>urn:sha1:abc24c187614e358faa10ed6a3e239151f70b9f8</id>
<content type='text'>
This allows the DAC to use a user-specified Timer for the triggering
(instead of the default Timer(6)), while still supporting original
behaviour.

Addresses issues #1129 and #1388.
</content>
</entry>
<entry>
<title>stmhal: Actually disable unhandled timer interrupts.</title>
<updated>2015-04-28T07:17:05+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-04-28T07:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fdcb3b7ebbb611497866123ec050fc99e5185cd8'/>
<id>urn:sha1:fdcb3b7ebbb611497866123ec050fc99e5185cd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Reset the timer counter to zero after changing the auto reload.</title>
<updated>2015-04-22T22:31:56+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-04-22T22:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fd787c5e4ed369ddf8a178a62b6faf8a421e2bbc'/>
<id>urn:sha1:fd787c5e4ed369ddf8a178a62b6faf8a421e2bbc</id>
<content type='text'>
Because if the counter is above the new value of the auto-reload register
then it may be a long time until the timer wraps around.
</content>
</entry>
<entry>
<title>stmhal: Exclude code for those timers that don't exist in the hardware.</title>
<updated>2015-04-18T20:40:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-18T14:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c92c7a69fd87ad0c2d330271bc67aaf9d4838fc3'/>
<id>urn:sha1:c92c7a69fd87ad0c2d330271bc67aaf9d4838fc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use new %q format to print qstr's in a few more places.</title>
<updated>2015-04-16T21:30:00+00:00</updated>
<author>
<name>blmorris</name>
<email>bryan.morrissey@gmail.com</email>
</author>
<published>2015-04-16T17:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c459213499b289a1710aa0e6d3fb80c4889cc1f'/>
<id>urn:sha1:4c459213499b289a1710aa0e6d3fb80c4889cc1f</id>
<content type='text'>
Saves 68 bytes.
</content>
</entry>
<entry>
<title>py: Overhaul and simplify printf/pfenv mechanism.</title>
<updated>2015-04-16T14:30:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-09T22:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f9d1d6ab923096582622b700bedb6a571518eac'/>
<id>urn:sha1:7f9d1d6ab923096582622b700bedb6a571518eac</id>
<content type='text'>
Previous to this patch the printing mechanism was a bit of a tangled
mess.  This patch attempts to consolidate printing into one interface.

All (non-debug) printing now uses the mp_print* family of functions,
mainly mp_printf.  All these functions take an mp_print_t structure as
their first argument, and this structure defines the printing backend
through the "print_strn" function of said structure.

Printing from the uPy core can reach the platform-defined print code via
two paths: either through mp_sys_stdout_obj (defined pert port) in
conjunction with mp_stream_write; or through the mp_plat_print structure
which uses the MP_PLAT_PRINT_STRN macro to define how string are printed
on the platform.  The former is only used when MICROPY_PY_IO is defined.

With this new scheme printing is generally more efficient (less layers
to go through, less arguments to pass), and, given an mp_print_t*
structure, one can call mp_print_str for efficiency instead of
mp_printf("%s", ...).  Code size is also reduced by around 200 bytes on
Thumb2 archs.
</content>
</entry>
<entry>
<title>stmhal: Fix a bug related to unhandled channel interrupts.</title>
<updated>2015-03-20T23:40:50+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-03-10T06:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=49d8e5ebaa195b0227aa04332749f7910d72d1ff'/>
<id>urn:sha1:49d8e5ebaa195b0227aa04332749f7910d72d1ff</id>
<content type='text'>
This also cleans up spurious interrupts which happen at timer
initilaization time.
</content>
</entry>
<entry>
<title>stmhal: Add support for quadrature encoder mode to pyb.TimerChannel.</title>
<updated>2015-03-09T13:23:14+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-03-09T08:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b4c9a25eabcf67cdb4317a22cf2b3eeba9c4d7aa'/>
<id>urn:sha1:b4c9a25eabcf67cdb4317a22cf2b3eeba9c4d7aa</id>
<content type='text'>
</content>
</entry>
</feed>
