<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/accel.c, branch v1.8.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-09-09T08:38:08+00:00</updated>
<entry>
<title>stmhal/{accel,lcd}: use GPIO_{set,clear}_pin</title>
<updated>2016-09-09T08:38:08+00:00</updated>
<author>
<name>Krzysztof Blazewicz</name>
<email>krzysztof.blazewicz@uxeon.com</email>
</author>
<published>2016-09-06T15:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=06a1194300fd65723a60bf8cc6702d60659089fa'/>
<id>urn:sha1:06a1194300fd65723a60bf8cc6702d60659089fa</id>
<content type='text'>
different HAL versions implement GPIO differently (BSRR vs BSRRH+BSRRL),
this way both drivers are portable between different HAL's
</content>
</entry>
<entry>
<title>stmhal/accel: Raise an exception if the accel couldn't be initialised.</title>
<updated>2016-04-29T14:43:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-29T14:43:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12c61dddddb52af0d02f89c5679bfc911ae3df90'/>
<id>urn:sha1:12c61dddddb52af0d02f89c5679bfc911ae3df90</id>
<content type='text'>
On PYBLITEv1.0 there is no accelerometer and in this case the Accel()
constructor should not silently succeed.
</content>
</entry>
<entry>
<title>py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.</title>
<updated>2016-01-11T00:49:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T15:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5b3f0b7f39bd67cc9182993c288f09f67a0890df'/>
<id>urn:sha1:5b3f0b7f39bd67cc9182993c288f09f67a0890df</id>
<content type='text'>
The first argument to the type.make_new method is naturally a uPy type,
and all uses of this argument cast it directly to a pointer to a type
structure.  So it makes sense to just have it a pointer to a type from
the very beginning (and a const pointer at that).  This patch makes
such a change, and removes all unnecessary casting to/from mp_obj_t.
</content>
</entry>
<entry>
<title>stmhal: Make accel AVDD pin configurable via mpconfigboard.h.</title>
<updated>2015-10-29T22:40:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-29T22:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f70283909a718ca4eab4efcdd1a2d74939c7193'/>
<id>urn:sha1:6f70283909a718ca4eab4efcdd1a2d74939c7193</id>
<content type='text'>
</content>
</entry>
<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: 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>Change some parts of the core API to use mp_uint_t instead of uint/int.</title>
<updated>2014-08-29T23:35:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-29T23:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecc88e949ca5e307d22da4605a40d39ea2df9e3b'/>
<id>urn:sha1:ecc88e949ca5e307d22da4605a40d39ea2df9e3b</id>
<content type='text'>
Addressing issue #50, still some way to go yet.
</content>
</entry>
<entry>
<title>stmhal, accel: Increase start-up times to 30ms; add extra 30ms delay.</title>
<updated>2014-07-31T09:39:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fa1ecda3fdaecd89b86bb63930a6521c8f63fe90'/>
<id>urn:sha1:fa1ecda3fdaecd89b86bb63930a6521c8f63fe90</id>
<content type='text'>
For accel to start-up reliably, need to wait 30ms between on/off, and
30ms for it to enter active mode.  With this fix the accel can be read
immediately after initialising it.

Addresses issue #763.
</content>
</entry>
<entry>
<title>stmhal: Document pyb.Accel() constructor, that it takes time to start.</title>
<updated>2014-06-01T16:57:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-06-01T16:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f1dbd78b30e487ea667e222721bba4d79d3763de'/>
<id>urn:sha1:f1dbd78b30e487ea667e222721bba4d79d3763de</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
