diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2024-12-02 08:09:47 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-12-10 10:53:47 +1100 |
| commit | 405aa69887558d561a993d5e9aa47b2ec7e76d9a (patch) | |
| tree | d27b3e9490306143ed054e767f4775825995af89 /py/binary.h | |
| parent | d42e39d87d37f20d74456222e603d0b6b409a556 (diff) | |
stm32/pyb_i2c: Add pyb_i2c_deinit_all function.
I2C objects can remain active after a soft-reboot because they are
statically allocated and lack a finalizer to collect and deinitialize them.
This commit adds a `pyb_i2c_deinit_all()` function for I2C, similar to
other peripherals such as UART, DAC, etc.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Diffstat (limited to 'py/binary.h')
0 files changed, 0 insertions, 0 deletions
