First I2C implementation

Initial I2C HAL implementation.
Only the I2cMaster was tested so far, I2cSlave will be tested next.

Master side was tested with a temerature sensor example application
in the vorago-reb1 crate
This commit is contained in:
muellerr committed 2021-12-02 12:05:24 +01:00
1 parent 70d9f123ef
commit 3886e2f11f
7 files changed
+937 -7

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ use va108xx_hal::{
gpio::{PinsA, PinsB},
pac::{self, SPIA, SPIB},
prelude::*,
spi::{self, NoneT, Spi, SpiBase, TransferConfig},
spi::{self, Spi, SpiBase, TransferConfig},
timer::CountDownTimer,
};