aboutsummaryrefslogtreecommitdiff
path: root/shared-bindings/busio/SPI.c
AgeCommit message (Collapse)Author
2017-12-05add SPI.write_readinto() - bidirectional SPIDan Halbert
2017-11-03Allow empty reads and writes for busio.SPIRadomir Dopieralski
This is mostly for convenience, so that user code doesn't need to add additional checks. Also, bring the bitbangio into compatibility with busio wrt. empty buffers.
2017-10-30Allow writing buffer of length zero to I2C device; it can be used to poll ↵Dan Halbert
for existence.
2017-10-25shared-bindings: Check that I2C and SPI reads and writes are given a buffer ↵Scott Shawcroft
of at least 1. (#370) Fixes #358
2017-10-03Do not allow a *io object to be used after deinit().Dan Halbert
Fixes #278, #277, #276, #275.
2017-09-06shared-bindings: Prevent check_lock from being optimized away. (#240)Scott Shawcroft
Fixes #229
2017-06-07shared-bindings: Update docs to remove with statements from examples but add ↵Scott Shawcroft
more detail to the design guide about their use.
2017-04-20Switch to a shared piece of code to compute start and length of aScott Shawcroft
buffer from start, end and length. The old code miscomputed length leading to writing and reading from memory past the end of the buffer. Consolidating the code should make it easier to get right everywhere.
2017-04-10Split up nativeio.0.9.4Scott Shawcroft
This was done to allow greatly granularity when deciding what functionality is built into each board's build. For example, this way pulseio can be omitted to allow for something else such as touchio.