1702 Commits

Author SHA1 Message Date
Alexandre Abadie
3f34e32617 drivers/hts221: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
Bas Stottelaar
a8a9283f7a drivers: si70xx: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
Bas Stottelaar
76b1200460 drivers: bmx280: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
Alexandre Abadie
78c5b46eac drivers/tcs37727: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
a85fbd2c75 sys/auto_init: update tcs37727 auto_init 2018-07-25 12:01:38 +02:00
Alexandre Abadie
a48a90f234 drivers/tcs37727: use new driver params scheme 2018-07-25 12:01:38 +02:00
Alexandre Abadie
219277e884 drivers/l3g4200d: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
2ace1a2dfe drivers/l3g4200d: rework driver API and params definition 2018-07-25 12:01:38 +02:00
Alexandre Abadie
ec25c1f7b0 drivers/lsm303dlhc: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
d81cf561b0 drivers/lsm303dlhc: rework driver API and params definition 2018-07-25 12:01:38 +02:00
Alexandre Abadie
d1a19db350 drivers/lps331ap: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
71d8b80512 drivers/lps331ap: rework driver API and params definition 2018-07-25 12:01:38 +02:00
Alexandre Abadie
a2d1558922 drivers/bmp180: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
7a12293eb1 drivers/at30tse75x: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
21e728123d drivers/mpl3115a2: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Alexandre Abadie
b93245f489 drivers/veml6070: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Alexandre Abadie
bad10174f5 drivers/lsm6dsl: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
Alexandre Abadie
f60b9570af drivers/si114x: adapt to new i2c api 2018-07-25 12:01:38 +02:00
dylad
ef8ed2620c periph_common/i2c: introduce new ret codes scheme 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011 periph/i2c: Add 10 bit addressing magic number definition 2018-07-25 12:01:34 +02:00
Vincent Dupont
cc9836d792 drivers/mma8x5x: adapt to new i2c API 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd periph/i2c: Editorial changes to i2c.h 2018-07-25 12:01:34 +02:00
Alexandre Abadie
01509b294f drivers/periph_i2c: i2c_init should return void 2018-07-25 12:01:34 +02:00
Alexandre Abadie
016c3e465b drivers/hts221: remove useless i2c_init call
This is automatically called by the periph_init function
2018-07-25 12:01:34 +02:00
Alexandre Abadie
c85e84bbde drivers/periph_common: init i2c only if module is loaded 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52 periph/i2c: Editorial doc changes 2018-07-25 12:01:34 +02:00
dylad
cfc826012f drivers/adxl345: update driver to the new I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Alexandre Abadie
c2eb316039 drivers/i2c: improve common i2c driver
- fix reag/write regs function (NOSTART/NOSTOP flags missing)
- use ret variable name instead of err (cosmetic)
- split PERIPH_I2C_NEED_READ/WRITE_REGS to simplify cpu side implementation
2018-07-25 12:01:34 +02:00
Alexandre Abadie
406d180dc2 drivers/hts221: adapt to new I2C API 2018-07-25 12:01:34 +02:00
Alexandre Abadie
b866bdb9d9 drivers/lsm6dsl: adapt to new I2C API 2018-07-25 12:01:34 +02:00
Alexandre Abadie
d8e0745c06 drivers/periph_i2c: fix build issue with return code type 2018-07-25 12:01:34 +02:00
dylad
39cb0e2bdb periph_common/i2c: fix ret code handling
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Alexandre Abadie
6f25886d77 drivers/periph/i2c: fixes issues in API
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
7fccd21dad periph/i2c: fix unspotted typos
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
4a24ce8212 drivers/i2c: add default fallback wrappers
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
e11a37df03 drivers/i2c: modify I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
496175b361 periph/i2c: add default fallback wrappers I2C functions
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d drivers/periph: introduced new I2C interface 2018-07-25 12:01:34 +02:00
Hauke Petersen
5e1467e747 drivers/periph_common: included I2C initialization 2018-07-25 12:01:34 +02:00
Koen Zandberg
b025362a7a
at86rf2xx: Always set channel on device
This removes the check if the current configured channel equals the new
channel. This check prevents the at86rf2xx channel to be configured
after a reset which causes the radio to be non-functional after a
NETOPT_STATE_RESET.
2018-07-20 12:15:29 +02:00
Martine Lenders
e986562631 lis3mdl: fix default params
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
Peter Kietzmann
93fcb245c2
Merge pull request #9113 from enzingerm/master
w5100: fixed RX interrupt handling
2018-07-19 13:59:53 +02:00
Peter Kietzmann
063c54ac3d
Merge pull request #9077 from gschorcht/enc28j60-improve
enc28j60: improvements to fix #9043
2018-07-17 19:45:18 +02:00
Gunar Schorcht
738c1161c0 enc28j60: improvements to fix #9043 2018-07-17 19:19:15 +02:00
Peter Kietzmann
ab5771bbf8
Merge pull request #9587 from bergzand/pr/kw2xrf/fix_ack_req
kw2xrf: Fix ack flag handling
2018-07-17 18:43:26 +02:00
Koen Zandberg
1dd4a46c90
Merge pull request #9584 from PeterKietzmann/pr_cc2420_max_pkt_size
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 14:12:10 +02:00
Koen Zandberg
b21c4f6f98
kw2xrf: fix NETOPT_AUTOACK getter and setter
Missing getter for NETOPT_AUTOACK and getter should return the size of
the variable (should not propagate to the netdev_ieee802154_get
function
2018-07-17 13:58:58 +02:00
Koen Zandberg
4b723859f3
kw2xrf: use ACK_REQ flag for ACK check on TX 2018-07-17 13:57:30 +02:00
Peter Kietzmann
2bc48c3953
Merge pull request #9577 from bergzand/pr/netdev/rem_default_tell_opts
drivers/radios: remove default event reporting flags
2018-07-17 13:47:33 +02:00
PeterKietzmann
838b18e8f9 drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE 2018-07-17 12:00:12 +02:00