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

31 Commits

Author SHA1 Message Date
Marian Buschsieweke
cdcec5b3f9
drivers/saul: use flash_utils 2023-02-27 12:31:04 +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
chrysn
3a719c69c7 doc/SAUL: State expectations on blocking and interrupts 2021-03-21 14:35:01 +01:00
Gunar Schorcht
1118f80180 drivers/saul: add common gas class 2020-03-12 08:42:59 +01:00
Benjamin Valentin
521b1ce440 sys/auto_init: allow delayed initialisation of SAUL
Co-authored-by: Martine S. Lenders <m.lenders@fu-berlin.de>
2020-03-04 16:13:40 +01:00
Michel Rottleuthner
1743f96fa8 drivers/saul: satisfy vera++ (shorten lines to below 100 chars) 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
46091b6b43 drivers/saul: add class and string for size measurements 2020-02-20 14:26:55 +01:00
benpicco
ffe208a3a4
Merge pull request #11394 from maribu/saul_stringification
drivers/saul: Improved stringification
2019-11-26 13:53:59 +01:00
Marian Buschsieweke
837e9c1ddc
drivers/saul: Improved stringification
- Changed declaration of SAUL classes (while keeping the format)
    - Termed "class of SAUL classes" category of SAUL classes in the doc to
      avoid confusion. (E.g. a SAUL class will now be in category sensor or
      actuator.)
    - Separate enums for SAUL category and intra-category ID. Numbers will now
      but auto-assigned by the compiler
- Use constant look-up tables for stringification (one table per SAUL category).
  ==> This saves 512B in .data section of AVR
2019-11-25 10:09:11 +01:00
eeca0e3752 drivers/include: fix typos 2019-11-23 22:39:40 +01:00
Marian Buschsieweke
3ebbec84c7
drivers/saul: Fixed documentation
There is no need to distinguish between sensors for electrical power or other
types of power.
2019-11-22 20:29:53 +01:00
fabian18
7e8cce875a drivers/ina3221: Added SAUL integration 2019-11-05 12:37:41 +01:00
Igor Knippenberg
61d0970939 drivers/saul: Added pH
- added device class SAUL_SENSE_PH in saul.h
- added stringification SAUL_SENSE_PH in saul_str.c
2019-09-05 12:47:10 +02:00
Leandro Lanzieri
85e75cf9f8 drivers/saul: Add capacitance and voltage types 2019-02-15 13:37:45 +01:00
Michel Rottleuthner
6cffa07ed1 drivers/saul: add sensor type for particulate matter 2019-01-30 13:15:17 +01:00
Marian Buschsieweke
ac98c98a0d
drivers/saul: Added coulomb counter & ammeter 2019-01-28 13:33:18 +01:00
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI 2018-11-06 11:07:13 +01:00
1ca44cf072 drivers/vcnl40x0: initial implementation 2018-10-15 11:44:10 +02:00
Hyungsin
0c5c3d9b77 driver/pir: add pir-based occupancy sensing 2018-06-26 13:46:37 -07:00
698fbf98cc drivers/saul: add definitions TVOC sensor type 2018-06-11 15:46:21 +02:00
327de914bc
saul: Add parts per million unit 2018-02-23 11:40:42 +01:00
78078b3f28 drivers/saul: add UV and distance sense options 2018-02-22 11:34:44 +01:00
Hyungsin
a0587ca306 drivers/pulse_counter: initial implementation 2018-01-17 06:28:13 -08:00
Hyungsin
3dbe604d96 tmp006: optional raw values, low power mode, SAUL type 2017-11-06 00:04:50 -08:00
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
Hauke Petersen
148ff32a42 saul: include errno.h from saul.h 2017-05-12 11:57:26 +02:00
9c2fc3ebc6 drivers/include/saul: add UV index sensor type 2017-03-15 10:09:56 +01:00
Laurent Navet
0d09d2d34b doc/saul: add cross link between SAUL and SAUL registry 2017-03-02 22:35:50 +01:00
Joakim Nohlgård
1f645cf436 drivers/saul: Fix typo in documentation 2016-04-08 10:17:23 +02:00
Hauke Petersen
d1d7192d93 drivers/saul: added default NOTSUP function 2016-03-17 10:29:34 +01:00
Hauke Petersen
0390561e06 drivers: added S(ensor) A(ctuator) U(ber) L(ayer) 2015-11-30 20:33:53 +01:00