24 Commits (6df7b2f2fee71e231927511d4baf58ff86eb7983)

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