5e2c52ee5b
embassy-rp: async i2c implementation
...
This is an interrupt-driven async i2c master implementation. It makes as
best use of the RP2040's i2c block's fifos as possible to minimize
interrupts.
It implements embedded_hal_async::i2c for easy interop.
WIP async impl
2022-10-01 13:43:37 -07:00
72b645b0c9
rp i2c: make blocking only for Mode=Blocking
2022-10-01 13:26:13 -07:00
8d38eacae4
rp i2c: remove vestiges of DMA
2022-10-01 13:26:13 -07:00
90d392205f
embassy-rp: inline I2c::regs
...
It just returns a literal constant, so there's no reason not to always inline it.
2022-10-01 13:26:13 -07:00
72c2e985bb
Update embedded-hal versions and explicitly pin
2022-09-29 11:27:46 +02:00
bf1da0497c
Allow unused fields temporarily in i2c
2022-09-27 22:08:49 +02:00
44c46e3c93
Move async i2c implementation to new PR, to merge working blocking implementation faster
2022-09-27 22:08:49 +02:00
b0d91e9f31
Apply suggestions from code review
...
Co-authored-by: Jacob Gonzalez <jacobgonzalez5252@gmail.com >
2022-09-27 22:08:49 +02:00
53c34ccc39
Add async API for I2C
2022-09-27 22:08:49 +02:00
be68d8ebb7
Add further i2c error types
2022-09-27 22:08:49 +02:00
603513e76e
Fix blocking I2C
2022-09-27 22:08:49 +02:00
bcd3ab4ba1
Add blocking read & write for I2C
2022-09-27 22:08:49 +02:00
820e6462b6
Add preliminary I2C implementation for RP2040
2022-09-27 22:08:49 +02:00