Commit Graph

25 Commits (2cd166b57370ab4877ec2d9666225faeac6127ce)

Author SHA1 Message Date
Scott Shawcroft 2cd166b573
Fix esp and samd 4 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 5 years ago
Damien George 5d2279bec1 extmod/machine_i2c: Add hook to constructor to call port-specific code. 6 years ago
Damien George 8b74048d2a extmod/machine_i2c: Expose soft I2C obj and readfrom/writeto funcs. 6 years ago
Damien George 4c905616f0 extmod/machine_i2c: Remove trivial function wrappers. 6 years ago
Damien George 37333cb00a extmod/machine_i2c: Add 'stop' argument to i2c readfrom/writeto meths. 6 years ago
Damien George 0bc99b4836 extmod/machine_i2c: Make i2c.write[to] methods return num of ACKs recvd. 6 years ago
Damien George 07e83573c8 extmod/machine_i2c: Add 'nack' argument to i2c.readinto. 6 years ago
Damien George ced240e72a extmod/machine_i2c: Make C-level functions return -errno on I2C error. 6 years ago
Damien George 946f8dd46f extmod/machine_i2c: Remove unneeded i2c_write_mem/i2c_read_mem funcs. 6 years ago
Damien George 96c3911a0a extmod/machine_i2c: Rewrite mem xfer funcs in terms of C-level protocol. 6 years ago
Damien George c81247f1ab extmod/machine_i2c: Rewrite i2c.scan in terms of C-level protocol. 6 years ago
Damien George bc4ea69795 extmod/machine_i2c: Add argument to C funcs to control stop generation. 6 years ago
Damien George b983cfaf41 extmod/machine_i2c: Add a C-level I2C-protocol, refactoring soft I2C. 6 years ago
Radomir Dopieralski e81a5353cb extmod/machine_i2c: Release SDA on bus error 6 years ago
Radomir Dopieralski 9a82b67f39 extmod/machine_i2c: Raise an error when clock stretching times out 6 years ago
Radomir Dopieralski 702928915c extmod/machine_i2c: Make the clock stretching timeout configurable 6 years ago
Radomir Dopieralski eaef6b5324 extmod/machine_i2c: Use writes not reads in i2c.scan(). 6 years ago
Radomir Dopieralski 219245e10f extmod/machine_i2c: Add support for the addrsize parameter in mem xfers. 6 years ago
Radomir Dopieralski ec078af985 extmod/machine_i2c: Add clock stretching support. 6 years ago
Damien George 4b37e775ea extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. 7 years ago
Damien George 624738ca64 extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. 7 years ago
Damien George eec8a94f04 extmod/machine_i2c: Implement I2C memory reading/writing. 7 years ago
Damien George 9314b2df4f extmod/machine_i2c: Fix I2C reading by sending ack/nack at end of byte. 7 years ago
Damien George d083712224 extmod: Add generic machine.I2C class, with bit-bang I2C. 7 years ago