Thomas Eichinger
fe643f7077
periph/i2c: added means to make I2C thread-safe
...
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Hauke Petersen
ac2ff23020
cpu/stm32f1: fixes to i2c driver
...
- fixes BUSY on initialization
2014-11-04 21:09:40 +01:00
Hinnerk van Bruinehsen
2103249815
lint: fix unassignedVariable warnings in stm32f1
2014-10-31 01:24:28 +01:00
Thomas Eichinger
ede33a6364
cpu/stm32f1: fix i2c read for N=2 bytes
2014-10-24 14:48:31 +02:00
Thomas Eichinger
414be5257d
cpu/stm32f1: fix i2c master read for N>2 bytes
...
This fixes reading more than 2 bytes from the slave device.
In the current implementation the last byte was not read from
data register and the termination sequence buggy.
2014-10-24 14:08:27 +02:00
Hauke Petersen
0fed9a438c
cpu/stm32f1: added low-level I2C driver
2014-10-15 14:50:14 +02:00