<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/modmachine.c, branch cross</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-05T14:28:55+00:00</updated>
<entry>
<title>stmhal: L4: Add support for machine.sleep on STM32L4 MCUs.</title>
<updated>2016-05-05T14:28:55+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>python@baerospace.ch</email>
</author>
<published>2016-03-24T15:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0f846e563c63fcba9602969a50cbcddcefbcae5b'/>
<id>urn:sha1:0f846e563c63fcba9602969a50cbcddcefbcae5b</id>
<content type='text'>
Also raise an exception for machine.freq and machine.deepsleep on this
MCU, since they are not yet implemented.
</content>
</entry>
<entry>
<title>stmhal: Fix machine.unique_id() function to work for all MCUs.</title>
<updated>2016-04-17T11:18:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-17T11:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5e247a5192548630342576adf8f58c6ad6f59bcb'/>
<id>urn:sha1:5e247a5192548630342576adf8f58c6ad6f59bcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use new generic I2C object in machine module.</title>
<updated>2016-04-12T13:06:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-12T12:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e4f963a351975dd71495b3cc92d817b97243250a'/>
<id>urn:sha1:e4f963a351975dd71495b3cc92d817b97243250a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make TIM3 available for use by the user.</title>
<updated>2016-01-29T22:31:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-29T22:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea89b80ff4f842b010f9f8ec3280675f81bc6bc5'/>
<id>urn:sha1:ea89b80ff4f842b010f9f8ec3280675f81bc6bc5</id>
<content type='text'>
TIM3 is no longer used by USB CDC for triggering outgoing data, so we
can now make it available to the user.

PWM fading on LED(4) is now gone, but will be reinstated in a new way.
</content>
</entry>
<entry>
<title>stmhal: Remove custom mod_machine_mem_get_{read,write}_addr functions.</title>
<updated>2016-01-07T16:34:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-07T15:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=daa1a455c631b697eb536ea7fedc30fcd735eb65'/>
<id>urn:sha1:daa1a455c631b697eb536ea7fedc30fcd735eb65</id>
<content type='text'>
They are no longer needed because stm constants can now be 32 bits wide.
</content>
</entry>
<entry>
<title>stmhal: Add mem8/mem16/mem32 operations to machine module.</title>
<updated>2015-12-19T01:05:44+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-14T01:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b61336483b8b4729309f95d232306ced97b00840'/>
<id>urn:sha1:b61336483b8b4729309f95d232306ced97b00840</id>
<content type='text'>
This uses the newly factored machine_mem functions.
</content>
</entry>
<entry>
<title>ports: Rename "machine" module to "umachine".</title>
<updated>2015-12-18T00:39:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-18T00:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2eb844e0b4e649034115dd6ca77dcdecd92ef547'/>
<id>urn:sha1:2eb844e0b4e649034115dd6ca77dcdecd92ef547</id>
<content type='text'>
To let unix port implement "machine" functionality on Python level, and
keep consistent naming in other ports (baremetal ports will use magic
module "symlinking" to still load it on "import machine").

Fixes #1701.
</content>
</entry>
<entry>
<title>stmhal: Fix unused variables when HW_CLK_LAST_FREQ not defined.</title>
<updated>2015-11-23T23:52:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-23T23:52:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=056abbcf31a8b191ba2369afbeb93e2c74bbaa65'/>
<id>urn:sha1:056abbcf31a8b191ba2369afbeb93e2c74bbaa65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Implement delayed RTC initialization with LSI fallback.</title>
<updated>2015-11-23T23:23:07+00:00</updated>
<author>
<name>T S</name>
<email>tsp@esg-workstation.com</email>
</author>
<published>2015-11-07T11:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=86aa16bea61da8a8d156a7a928902a0bf4c85b73'/>
<id>urn:sha1:86aa16bea61da8a8d156a7a928902a0bf4c85b73</id>
<content type='text'>
If RTC is already running at boot then it's left alone.  Otherwise, RTC is
started at boot but startup function returns straight away.  RTC startup
is then finished the first time it is used.  Fallback to LSI if LSE fails
to start in a certain time.

Also included:
 MICROPY_HW_CLK_LAST_FREQ
        hold pyb.freq() parameters in RTC backup reg
 MICROPY_HW_RTC_USE_US
        option to present datetime sub-seconds in microseconds
 MICROPY_HW_RTC_USE_CALOUT
        option to enable RTC calibration output

CLK_LAST_FREQ and RTC_USE_CALOUT are enabled for PYBv1.0.
</content>
</entry>
<entry>
<title>stmhal/modmachine: Initial attempt to add I2C &amp; SPI classes.</title>
<updated>2015-11-14T14:14:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-14T14:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=16d42368a64cca3927ceac26b33015f73d501427'/>
<id>urn:sha1:16d42368a64cca3927ceac26b33015f73d501427</id>
<content type='text'>
In new hardware API, these classes implement master modes of interfaces,
and "mode" parameter is not accepted. Trying to implement new HW API
in terms of older pyb module leaves variuos corner cases:

In new HW API, I2C(1) means "I2C #1 in master mode" (? depends on
interpretation), while in old API, it means "I2C #1, with no settings
changes".

For I2C class, it's easy to make mode optional, because that's last
positional param, but for SPI, there's "baudrate" after it (which
is inconsistent with I2C, which requires "baudrate" to be kwonly-arg).
</content>
</entry>
</feed>
