5f1d5e0d83
cpu/stm32_common: various improvements in i2c_1 driver
...
- dont send stop if bus is busy and before any action is done on bus
- and bus check that looks for bus error, arbitration and nack events
- check for ACK (TXIS) before writing bytes on bus and not between each write
2018-07-25 12:01:39 +02:00
smlng
11356f602f
driver: fix cppcheck error in pn532
...
cppcheck reported 'duplicateBranch' error in 2 if-else
statements, b/c they are empty when running static-tests.
2018-07-25 12:01:39 +02:00
c26888c9f7
boards: adapt atmega boards with new i2c API
2018-07-25 12:01:39 +02:00
Laurent Navet
c7fed1526c
cpu/atmega_common: adapt to new i2c api
...
Rework atmega i2c to match new i2c interface.
Only i2c_read_bytes and i2c_write_bytes are implemented.
2018-07-25 12:01:39 +02:00
12e282d527
boards/calliope-mini: adapt i2c config
2018-07-25 12:01:39 +02:00
70d9495b6f
board/airdy-beacon: adapt i2c config
2018-07-25 12:01:39 +02:00
aab0ecee4f
boards/microbit: fix MMA8653 configuration defines
2018-07-25 12:01:39 +02:00
f8f4cb1273
boards/microbit: adapt I2C periph configuration
2018-07-25 12:01:39 +02:00
3e6336ce89
cpu/nrf51: adapt to new I2C api
2018-07-25 12:01:39 +02:00
f113f93ca8
drivers/mag3110: adapt to new I2C api
2018-07-25 12:01:39 +02:00
93fc27b93b
sys/auto_init: update mag3110 auto_init
2018-07-25 12:01:39 +02:00
2afd84f9ca
drivers/mag3110: use new driver params scheme
2018-07-25 12:01:39 +02:00
Michel Rottleuthner
dd852a2b53
drivers/pn532: adapt to new i2c API
2018-07-25 12:01:39 +02:00
3ff45726a8
drivers/mpu9150: adapt to new I2C api
2018-07-25 12:01:39 +02:00
2449655ba7
drivers/tsl2561: adapt to new I2C api
2018-07-25 12:01:39 +02:00
af647bfb53
sys/auto_init: update tsl2561 auto_init
2018-07-25 12:01:39 +02:00
5c6df7165f
tests/driver_tsl2561: update to new API changes
2018-07-25 12:01:39 +02:00
e78739a9a3
drivers: add tsl2561 dependencies
2018-07-25 12:01:39 +02:00
95a4d8d4e7
drivers/tsl2561: rework API for consistency
2018-07-25 12:01:39 +02:00
d92b4c6759
drivers/tsl2561: use new driver params scheme
2018-07-25 12:01:39 +02:00
MrKevinWeiss
e8c56ceadc
cpu/stm32_common/i2c: Fix return error code
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
238b4dda2f
pba-d-01-kw2x: Update I2C ISR config
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
127b0134b2
mulle: Update I2C ISR config
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
84ba49f158
frdm-kw41z: Update I2C ISR config
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
ecb44c477c
frdm-k64f: Update I2C ISR config
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
c2583dd225
frdm-k22f: Update I2C ISR config
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
31b461d71c
kinetis: Interrupt based I2C transfers
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
2728a56ed8
pba-d-01-kw2x: Update I2C configuration
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
d95cf40d23
mulle: Update I2C configuration
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
695f6fb2b6
frdm-kw41z: Update I2C configuration
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
9e8f5a03d0
frdm-k64f: Update I2C configuration
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
251c4c109e
frdm-k22f: Update I2C configuration
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
175f398b58
kinetis: Refactor I2C driver
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
3ac45b5aa2
kinetis: Reflow text in doc.txt
2018-07-25 12:01:38 +02:00
Joakim Nohlgård
21bd356d8d
drivers/fxos8700: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Hyungsin
f2a05ec8bc
drivers/tmp006: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Hyungsin
79430a208a
drivers/hdc1000: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Joakim Nohlgård
34bddca083
drivers/ina220: adapt to new I2C api
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6016266c77
cpu/stm_common/i2c: Fix error code
2018-07-25 12:01:38 +02:00
Michel Rottleuthner
8173aff6ec
drivers/isl29125: adapt to new i2c API
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6a3f9f35dc
cpu/stm32_common/i2c: Fix extra clear_addr
2018-07-25 12:01:38 +02:00
MrKevinWeiss
d0f86d0611
drivers/srf02: Update to new i2c API
2018-07-25 12:01:38 +02:00
MrKevinWeiss
89bd96e1b0
drivers/srf08: Turn debug off and cleanup
2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d
drivers/srf08: cleanup and fixes for new api
2018-07-25 12:01:38 +02:00
MrKevinWeiss
98f6fd49a8
drivers/srf08: port to new api
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6f6c3d7926
cpu/stm_common/i2c: style fix
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6c4f144e25
cpu/stm32_common/i2c: fix addr nack and flags
2018-07-25 12:01:38 +02:00
smlng
dce3bba8c4
boards: fix config of cc2538 boards for new I2C API
2018-07-25 12:01:38 +02:00
smlng
eee4f36ef5
cpu/cc2538: adapt periph/i2c to new api
2018-07-25 12:01:38 +02:00
smlng
a27ae261b8
cpu/cc2538: add gpio_init_mux function
2018-07-25 12:01:38 +02:00