summaryrefslogtreecommitdiff
path: root/shared-bindings/busio/I2C.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-09-25Change I2C default to 100khzScott Shawcroft
Greater that 100khz is technically out of the original spec. Background here: https://github.com/adafruit/Adafruit_CircuitPython_CLUE/issues/36
2020-08-07Modify some Python stubsTaku Fukada
2020-07-27Fix several type hintsTaku Fukada
2020-07-24Add and correct some type hintsTaku Fukada
2020-07-23Remove stop kwarg from I2C writeto.Scott Shawcroft
Fixes #2082
2020-07-03Made every init return Nonedherrada
2020-07-02Changed unions to ReadableBuffer and WriteableBufferdherrada
2020-07-02Removed all 'self, )'dherrada
2020-07-02Made suggested changesdherrada
2020-07-02Changed bytearray to a uniondherrada
2020-07-02Did busio, fixed up analogiodherrada
2020-06-25Use main/selected terminology in docstringsJeff Epler
Also copy some notes from busio docstrings to bitbangio docstrings
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-04-29Added newlines after every ellipsisdherrada
2020-04-29Fixed indentationdherrada
2020-04-29Did the same for the rest of busiodherrada
2020-04-28Fixed whitespace in busiodherrada
2020-04-25Added inline pyi to I2C.cdherrada
2020-03-05rename routines to be clearer; fix wiznet arg typesDan Halbert
2020-02-28new pin validation routines; don't use mp_const_none if NULL will doDan Halbert
2019-10-29Update I2C and SPI documentationDan Halbert
2019-08-23Use size_t and document buffers can be the same.Scott Shawcroft
2019-08-22Add writeto_then_readfrom to I2C API. Deprecate stop kwarg.Scott Shawcroft
writeto_then_readfrom has been added to do a write -> no stop -> repeated start -> read sequence. This is done to match the capabilities of Blinka on Linux. Code that uses stop=False will not work correctly on Blinka. To fix, if stop=False then use writeto_then_readfrom otherwise use writeto then readfrom_into. First step in #2082
2019-06-12Refactor deinit check to reduce code size.Scott Shawcroft
2019-05-30Improve rST consistency for rst2pyi useScott Shawcroft
2019-03-25Reuse existing error message in busio.i2cRadomir Dopieralski
Remove a period from the error message, so that the same message as in SPI and other places in I2C can be re-used.
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2018-12-03UART changes: timeout in secs, write bytes, etc.Dan Halbert
2018-08-07Support internationalisation.Scott Shawcroft
2018-05-13 add timeout keyword to I2C - for bitbangio - ignored for busioJerry Needell
2018-01-02merge from 2.2.0 + fix up board defsDan Halbert
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.