1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Marian Buschsieweke
e407460243
cpu/nrf51: fix periph_i2c driver
The `i2c_read_bytes()` and `i2c_write_bytes()` function return the
number of bytes written / read, instead of `0` as the API contract
says. This fixes the issue.
2023-11-24 10:03:07 +01:00
Gunar Schorcht
007e29ebb5 cpu/periph/i2c: update implementations to new I2C API
Make all `spi_acquire` implementations return `void` and add assertions to check for valid device identifier where missing.
2021-11-29 06:35:25 +01:00
Bas Stottelaar
22243aec7a cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
Marian Buschsieweke
01f77433a8
cpu/nrf51: Updated i2c_release() 2019-08-22 12:03:08 +02:00
3e6336ce89 cpu/nrf51: adapt to new I2C api 2018-07-25 12:01:39 +02:00
smlng
1540ec0509 nrf51: fix returns and error codes in periph/i2c 2017-11-13 13:38:47 +01:00
Hauke Petersen
399169ddcf cpu/nrf51: remove guards from periph drivers 2017-11-09 12:30:21 +01:00
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Hauke Petersen
334b2a6dc1 cpu/nrf52: added support for nRF52840
- added vendor header files for nrf52840
- added config for nrf52840
- added additional isr vectors for the nrf52840
- enabled port 1 in GPIO driver
- adapted periph drivers to cope with GPIO driver changes
- adapted the GPIO config of the I2C driver for the nrf51
2017-04-05 16:43:49 +02:00
Hauke Petersen
ee56f37809 cpu/nrf51: added I2C driver implementation 2017-01-10 11:52:36 +01:00