Jeff Epler
9110e36636
Use main/selected terminology in docstrings
...
Also copy some notes from busio docstrings to bitbangio docstrings
2020-06-25 11:42:23 -05:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
a2a32fea1a
Added newlines after every ellipsis
2020-04-29 15:55:06 -04:00
dherrada
093461e816
Fixed indentation
2020-04-29 15:45:19 -04:00
dherrada
93d1e53c66
Hopefully fixed whitespace issues
2020-04-29 14:19:04 -04:00
dherrada
724dcda3ec
Fixed whitespace in busio
2020-04-28 18:39:58 -04:00
dherrada
55bdee688f
Reorganized pyi again
2020-04-23 16:14:17 -04:00
dherrada
855c2033b5
Reogranized pyi in spi.c
2020-04-23 15:35:20 -04:00
dherrada
a18b991ca9
Added pyi to SPI.c
2020-04-22 15:22:34 -04:00
Dan Halbert
817b5be320
rename routines to be clearer; fix wiznet arg types
2020-03-05 16:35:31 -05:00
Dan Halbert
b6206406de
new pin validation routines; don't use mp_const_none if NULL will do
2020-02-28 23:43:04 -05:00
Dan Halbert
c57ccd5eb4
doc typo
2020-02-11 20:03:47 -05:00
Dan Halbert
f73b58a2c6
fix doc indentation
2020-02-11 19:57:48 -05:00
Dan Halbert
2e029d55fc
nrf: add SPIM3 support
2020-02-11 19:22:14 -05:00
Dan Halbert
43b8d5e8ab
Update I2C and SPI documentation
2019-10-29 09:58:44 -04:00
Scott Shawcroft
966a48b23a
More size_t usage
2019-08-27 12:49:46 -07:00
Scott Shawcroft
a35d9b469d
Refactor deinit check to reduce code size.
2019-06-12 11:36:43 -07:00
Scott Shawcroft
cfe24b8532
Improve rST consistency for rst2pyi use
2019-05-30 19:02:47 -07:00
Scott Shawcroft
747f2cfe26
Add subclass support to displayio.
...
Also, swap make_news to accept a kwarg map and refine param checking.
Fixes #1237
2019-01-14 17:29:19 -08:00
Dan Halbert
b6b5ed9c89
Remove nRF52832 support
2018-12-30 22:49:20 -05:00
Dan Halbert
21d331c8cc
round SPI freq down; check max freq
2018-10-02 21:06:40 -04:00
Dan Halbert
aa95526428
nrf: remove error check for SPI baudrate too high; round to nearest baudrate
2018-10-01 18:54:13 -04:00
Scott Shawcroft
933add6cd8
Support internationalisation.
2018-08-07 14:58:57 -07:00
Scott Shawcroft
bf05183158
Merge remote-tracking branch 'adafruit/2.x' into merge_2x
2018-02-27 15:24:16 -08:00
Dan Halbert
cc87363234
documentation: caution on SPI clock speed for SAMD21
2018-01-30 14:31:20 -05:00
Dan Halbert
e550b024c5
atmel-samd: Correct computation of SPI baud rate.
...
all: Add .frequency read-only property for busio.SPI to return actual frequency.
Fix esp8266/posix_helpers.c, which was not up to date for the new
long-lived/short-lived heap allocation scheme.
2018-01-30 12:08:41 -05:00
Dan Halbert
065e82015f
merge from 2.2.0 + fix up board defs
2018-01-02 21:25:41 -05:00
Dan Halbert
e75fd0e166
add SPI.write_readinto() - bidirectional SPI
2017-12-05 11:17:16 -08:00
Radomir Dopieralski
78f6c2232c
Allow empty reads and writes for busio.SPI
...
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-11-03 17:33:37 +01:00
Dan Halbert
f738996164
Allow writing buffer of length zero to I2C device; it can be used to poll for existence.
2017-10-30 18:32:36 -07:00
Scott Shawcroft
bd7abcda97
shared-bindings: Check that I2C and SPI reads and writes are given a buffer of at least 1. ( #370 )
...
Fixes #358
2017-10-25 17:28:23 -04:00
Dan Halbert
c478c10923
Do not allow a *io object to be used after deinit().
...
Fixes #278 , #277 , #276 , #275 .
2017-10-03 12:07:17 -07:00
Scott Shawcroft
6467e3d40b
shared-bindings: Prevent check_lock from being optimized away. ( #240 )
...
Fixes #229
2017-09-06 17:49:30 -04:00
Scott Shawcroft
714521a4c7
shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use.
2017-06-07 14:39:12 -07:00
Scott Shawcroft
939c0045db
Switch to a shared piece of code to compute start and length of a
...
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-20 11:24:05 -07:00
Scott Shawcroft
f28f8ba568
Split up nativeio.
...
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.
2017-04-10 13:32:19 -07:00