NRF5x: I2C EasyDMA support for NRF5x, extended API

This commit adds support for NRF52 TWI Master mode and slightly extends
existing I2C API. This is a breaking change, while mode selection needs to be
done during enabling I2C. There is one additional breaking change done because:
1) Unicore MX API design was PITA for writes
2) It is incompatible with EasyDMA

I strongly apologize to all two users who might be affected by this change.
This commit is contained in:
Eduard Drusa
2022-03-31 11:17:59 +02:00
committed by Karl Palsson
parent 458766398f
commit 66bf499e1b
6 changed files with 218 additions and 36 deletions

View File

@@ -37,7 +37,7 @@ ARFLAGS = rcs
OBJS += clock_common.o
OBJS += gpio.o
OBJS += i2c.o
OBJS += i2c.o i2c_common.o
OBJS += ppi.o
OBJS += radio_common.o
OBJS += rtc.o