mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 15:30:25 +08:00
55bef681e1
This commit adds the lowerhalf driver support for the I2C Slave. While not currently ideal, it is compatible with the upperhalf i2c slave driver. A workqueue can be used to delegate the isr work to the upperhalf driver. But keep in mind wq introduces a lot of delay and in certain scenarios, it is better to write your own better upperhalf driver. Signed-off-by: Stepan Pressl <pressl.stepan@gmail.com>