<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/atmel-samd/modmachine.c, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-21T22:11:52+00:00</updated>
<entry>
<title>This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware.</title>
<updated>2016-11-21T22:11:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-11-03T22:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccbb5e84f980e252f7380d96fcc5c417a8a64523'/>
<id>urn:sha1:ccbb5e84f980e252f7380d96fcc5c417a8a64523</id>
<content type='text'>
Docs are here: http://tannewt-micropython.readthedocs.io/en/microcontroller/

It differs from upstream's machine in the following ways:

* Python API is identical across ports due to code structure. (Lives in shared-bindings)
* Focuses on abstracting common functionality (AnalogIn) and not representing structure (ADC).
* Documentation lives with code making it easy to ensure they match.
* Pin is split into references (board.D13 and microcontroller.pin.PA17) and functionality (DigitalInOut).
* All nativeio classes claim underlying hardware resources when inited on construction, support Context Managers (aka with statements) and have deinit methods which release the claimed hardware.
* All constructors take pin references rather than peripheral ids. Its up to the implementation to find hardware or throw and exception.
</content>
</entry>
<entry>
<title>atmel-samd: Rework mass storage interaction with underlying block</title>
<updated>2016-10-21T22:36:59+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-10-13T21:53:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=306c921ed1437fc79423958a5e4bd8b0e96bc863'/>
<id>urn:sha1:306c921ed1437fc79423958a5e4bd8b0e96bc863</id>
<content type='text'>
storage to use micropython's VFS interface.

This makes mass storage work with any VFS implementation rather
than a single one.
</content>
</entry>
<entry>
<title>atmel-samd: Add support for SPI.</title>
<updated>2016-10-11T22:48:43+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-10-11T22:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=011056af15f6107b9ef35fdf19a3f715b55f55d5'/>
<id>urn:sha1:011056af15f6107b9ef35fdf19a3f715b55f55d5</id>
<content type='text'>
Also separate out the ASF config headers that are shared across all boards.
</content>
</entry>
<entry>
<title>atmel-samd: Remove module name from struct.</title>
<updated>2016-09-26T22:02:16+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-09-26T22:02:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1be9f50abfafc3139b307cd8e23e1505b9c84b5'/>
<id>urn:sha1:b1be9f50abfafc3139b307cd8e23e1505b9c84b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel-samd: Add I2C support.</title>
<updated>2016-09-13T18:46:22+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-09-13T18:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d8929c470f7c7215d93cbe90d713e7b60d93dd6'/>
<id>urn:sha1:7d8929c470f7c7215d93cbe90d713e7b60d93dd6</id>
<content type='text'>
This commit also introduces a new shared-bindings directory which is used to store the common Python -&gt; C binding code. By having a shared directory we can ensure that the Python API across ports is the same. Each port will have a corresponding common-hal directory which provides definitions for the C api used in the shared-bindings code. That way the compiler can enforce the C api.

To migrate to this new shared API create a common-hal directory within your port and change the Makefile to compile both the shared-bindings and common-hal files. See atmel-samd/Makefile SRC_BINDINGS for an example.
</content>
</entry>
<entry>
<title>atmel/samd: Add filesystem support. 64k is stored in flash.</title>
<updated>2016-09-03T00:00:30+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-09-03T00:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=09be96a6aa56734f13a7a7b7c5c1c5f29f014364'/>
<id>urn:sha1:09be96a6aa56734f13a7a7b7c5c1c5f29f014364</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel/samd: Add basic PWM support which only allows for changing the duty.</title>
<updated>2016-08-30T20:10:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-08-30T20:10:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccb309bd5c0b283ea847b18621038bf5ef817f38'/>
<id>urn:sha1:ccb309bd5c0b283ea847b18621038bf5ef817f38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel-samd: Rename module classes so they don't conflict with names from ASF.</title>
<updated>2016-08-28T07:02:05+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-08-28T07:02:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b883a15d82c156a0abf8aabf61bc9445ddf97f39'/>
<id>urn:sha1:b883a15d82c156a0abf8aabf61bc9445ddf97f39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel-samd: Add direct write access to the DAC output.</title>
<updated>2016-08-27T22:04:34+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-08-27T22:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=16fc0455097487428c4a1b5759a18d470ebb6cc2'/>
<id>urn:sha1:16fc0455097487428c4a1b5759a18d470ebb6cc2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel-samd: Initial ADC support.</title>
<updated>2016-08-27T00:01:38+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-08-26T23:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=259ae8a39d347d2c653d737f2a1aec4f03d970fc'/>
<id>urn:sha1:259ae8a39d347d2c653d737f2a1aec4f03d970fc</id>
<content type='text'>
</content>
</entry>
</feed>
