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

32 Commits

Author SHA1 Message Date
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Marian Buschsieweke
5d93a485c5
drivers/hdc1000: Add missing doc and fix doccheck
This commits add documentation to the HDC1000 params and adds generic
exclude patters to the doc check, so that when boards provide custom
HDC1000 params they do not need to document them again. The reasoning
is that the documentation in the central place is sufficient.
2023-01-05 14:25:20 +01:00
Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.

As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Leandro Lanzieri
14d986d25d drivers: add Kconfig hardware feature to various drivers
- fxos8700
- hdc1000
- pir
- pulse_counter
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
ef71ff5199
drivers/hdc1000/kconfig: add hardware feature 2021-12-07 11:32:14 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Leandro Lanzieri
1dbe39c8ba
drivers/hdc1000: add module to Kconfig 2020-11-27 09:20:06 +01:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
304bce3724
drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories 2020-07-15 20:36:27 +02:00
Akshai M
79de2512e1 drivers/hdc1000 : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-16 19:16:43 +05:30
Akshai M
7a4191a8d5 drivers/hdc1000 : Add CONFIG_
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-16 17:17:27 +05:30
Kees Bakker
5bb50ea6a5 drivers/hdc1000: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
0cb92e1e51 drivers: replace memset by simple assignments
A memset was used to clear two of the SAUL values in phydat_t::val
The change is to replace that by the following
    res->val[1] = 0;
    res->val[2] = 0;
which makes the code more obvious.
2019-01-07 21:59:25 +01:00
Hyungsin
88895bbed9 drivers/hdc1000: change renew_interval to a parameter 2018-08-06 12:33:53 -07:00
Hyungsin
79430a208a drivers/hdc1000: adapt to new i2c API 2018-07-25 12:01:38 +02:00
a5fc479820 drivers/hdc1000: use new driver params scheme 2018-02-28 16:46:07 +01:00
Hyungsin
fd3f33880b drivers/hdc1000: add caching capability for hdc1000 driver 2017-11-29 11:30:39 -08:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
Hauke Petersen
48f2a92262 drivers/hdc1000: (re)add error checks for I2C acces 2017-05-12 11:57:43 +02:00
Oleg Hahm
5a48c27d96 hdc1000: reduce scope of variables 2017-04-14 14:36:13 +02:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
976cf30281 drivers/hdc1000: remodeled driver
- cleaned up interface
- made read functions return phyical values
- made resolution configurable at initialization time
- added default parameter configuration file
- added SAUL support for the driver
2017-01-17 10:48:22 +01:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Johann F
d317ea2d3a drivers/hdc1000: fix hdc1000_startmeasure function
Change i2c_write_bytes to i2c_write_byte because it was
seriously wrong at this point.
2015-05-30 20:18:34 +02:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Johann Fischer
b540def4b1 drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
fix doxygen warnings
 change default address
2015-01-28 10:26:02 +01:00
Johann F
1a69a1eae8 add hdc1000 sensor driver 2014-11-24 13:15:58 +01:00