summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-06-26 23:56:45 +1000
committerDamien George <damien@micropython.org>2020-06-26 23:56:45 +1000
commit137df817575e06b7bd765fb230a99d108f1d4f61 (patch)
tree6c73d731a1113e01fbfa33ff08298fbcb0cb79d2 /py
parent6475cdb7d06cc1a7bf273e66d0bbfc9aef890622 (diff)
downloadmicropython-137df817575e06b7bd765fb230a99d108f1d4f61.tar.gz
micropython-137df817575e06b7bd765fb230a99d108f1d4f61.zip
stm32/i2cslave: Pass I2C instance to callbacks to support multi I2Cs.
By passing through the I2C instance to the application callbacks, the application can implement multiple I2C slave devices on different peripherals (eg I2C1 and I2C2). This commit also adds a proper rw argument to i2c_slave_process_addr_match for F7/H7/WB MCUs, and enables the i2c_slave_process_tx_end callback. Mboot is also updated for these changes. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions