<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/machine_pulse.c, branch 5.0.0-beta.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0-beta.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0-beta.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-02-05T11:20:17+00:00</updated>
<entry>
<title>extmod/machine_pulse: Make time_pulse_us() not throw exceptions.</title>
<updated>2017-02-05T11:20:17+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-02-05T11:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d5e9ab6e61729f533dbed5c2b6b27307ce6c3b55'/>
<id>urn:sha1:d5e9ab6e61729f533dbed5c2b6b27307ce6c3b55</id>
<content type='text'>
machine.time_pulse_us() is intended to provide very fine timing, including
while working with signal bursts, where each transition is tracked in row.
Throwing and handling an exception may take too much time and "signal loss".
So instead, in case of a timeout, just return negative value. Cases of
timeout while waiting for initial signal stabilization, and during actual
timing, are recognized.

The documentation is updated accordingly, and rewritten somewhat to clarify
the function behavior.
</content>
</entry>
<entry>
<title>extmod: Use mp_raise_OSError helper function.</title>
<updated>2016-10-07T02:52:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-07T02:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75af908c0ec2a0d47e6aded15b35cd630f93d48b'/>
<id>urn:sha1:75af908c0ec2a0d47e6aded15b35cd630f93d48b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us.</title>
<updated>2016-05-31T13:25:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-31T13:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=33168081f48634d45902f0a31a27d4527c88a522'/>
<id>urn:sha1:33168081f48634d45902f0a31a27d4527c88a522</id>
<content type='text'>
Since not all ports that enable the machine module have the pin HAL
functions.
</content>
</entry>
<entry>
<title>extmod: Add machine time_pulse_us function (at C and Python level).</title>
<updated>2016-05-31T12:58:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-31T12:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4940bee62a636f7e2653a4d4eeac5071448addc0'/>
<id>urn:sha1:4940bee62a636f7e2653a4d4eeac5071448addc0</id>
<content type='text'>
The C implementation is taken from the DHT driver.
</content>
</entry>
</feed>
