aboutsummaryrefslogtreecommitdiff
path: root/extmod/machine_i2c.c
AgeCommit message (Expand)Author
2022-06-01extmod/machine_i2c: Add optional support for write-then-read transfers.Damien George
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2022-01-21extmod/machine_i2c: Increase default SoftI2C timeout to 50ms.Damien George
2021-09-02extmod/machine_i2c: Make SoftI2C configurable via macro option.Damien George
2020-11-23extmod/machine_i2c: Add init protocol method for generic I2C bindings.Damien George
2020-10-22py, extmod: Add explicit initializers for default values.Emil Renner Berthing
2020-10-01extmod/machine_i2c: Remove "id" arg in SoftI2C constructor.Damien George
2020-10-01extmod/machine_i2c: Rename type to SoftI2C and add custom print method.Damien George
2020-08-27extmod/machine_i2c: Fix buffer overrun if 'addrsize' is bigger than 32.Michael Buesch
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-05-20extmod/machine_i2c: Add i2c.writevto() that can write a vector of bufs.Damien George
2019-05-20extmod/machine_i2c: Remove need for temporary memory in writemem() call.Damien George
2019-05-20extmod/machine_i2c: Change C-level API to allow split I2C transactions.Damien George
2018-07-08extmod: Fix to support compiling with object representation D.Damien George
2017-08-30all: Convert remaining "mp_uint_t n_args" to "size_t n_args".Damien George
2016-11-24extmod/machine_i2c: Add hook to constructor to call port-specific code.Damien George
2016-11-24extmod/machine_i2c: Expose soft I2C obj and readfrom/writeto funcs.Damien George
2016-11-23extmod/machine_i2c: Remove trivial function wrappers.Damien George
2016-11-23extmod/machine_i2c: Add 'stop' argument to i2c readfrom/writeto meths.Damien George
2016-11-23extmod/machine_i2c: Make i2c.write[to] methods return num of ACKs recvd.Damien George
2016-11-23extmod/machine_i2c: Add 'nack' argument to i2c.readinto.Damien George
2016-11-23extmod/machine_i2c: Make C-level functions return -errno on I2C error.Damien George
2016-11-23extmod/machine_i2c: Remove unneeded i2c_write_mem/i2c_read_mem funcs.Damien George
2016-11-23extmod/machine_i2c: Rewrite mem xfer funcs in terms of C-level protocol.Damien George
2016-11-23extmod/machine_i2c: Rewrite i2c.scan in terms of C-level protocol.Damien George
2016-11-23extmod/machine_i2c: Add argument to C funcs to control stop generation.Damien George
2016-11-23extmod/machine_i2c: Add a C-level I2C-protocol, refactoring soft I2C.Damien George
2016-11-17extmod/machine_i2c: Release SDA on bus errorRadomir Dopieralski
2016-11-17extmod/machine_i2c: Raise an error when clock stretching times outRadomir Dopieralski
2016-11-17extmod/machine_i2c: Make the clock stretching timeout configurableRadomir Dopieralski
2016-10-11extmod/machine_i2c: Use writes not reads in i2c.scan().Radomir Dopieralski
2016-09-28extmod/machine_i2c: Add support for the addrsize parameter in mem xfers.Radomir Dopieralski
2016-09-22extmod/machine_i2c: Add clock stretching support.Radomir Dopieralski
2016-05-26extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low.Damien George
2016-04-22extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr.Damien George
2016-04-12extmod/machine_i2c: Implement I2C memory reading/writing.Damien George
2016-04-12extmod/machine_i2c: Fix I2C reading by sending ack/nack at end of byte.Damien George
2016-04-12extmod: Add generic machine.I2C class, with bit-bang I2C.Damien George