cae369bc52
saul: Ignore extra dimensions in read functions
2019-12-03 15:17:25 +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
Gaëtan Harter
c75470e602
saul/gpio: add support for inverted mode gpios
2017-10-05 17:19:54 +02:00
Gaëtan Harter
be3029d890
saul/gpio: use saul_gpio_params_t structure as saul device
...
This provides the whole structure to read and write.
2017-10-05 17:18:13 +02:00
smlng
946256d26f
saul: use const for device parameter
2017-06-26 20:25:37 +02:00
Hauke Petersen
3511deb4d5
saul/gpio: differentiate SENSE_BTN and ACT_SWITCH
2017-05-09 10:47:31 +02:00
Joakim Nohlgård
2108b85d85
saul: add missing doxygen opening comment
2016-02-13 21:25:13 +01:00
Hauke Petersen
0390561e06
drivers: added S(ensor) A(ctuator) U(ber) L(ayer)
2015-11-30 20:33:53 +01:00