stm32f0xx-hal
stm32f0xx-hal copied to clipboard
Add I2C slave.
This adds an I2C slave implementation for I2C1 that I developed for use in a personal project. This is a very much WIP as no support for I2C2 is available and the code is not compliant with anything in embedded-hal.
It'd be nice if this could be discussed here what can be done to make this code mergeable as there are almost none examples of implementing I2C slave for STM32 and other controllers.