1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/pcf857x
Marian Buschsieweke e7c9451b55
drivers/pcf857x: use errno code for error reporting
This makes it easier to use common error reporting such as `strerror()`
or `tiny_strerror()` to give more insight on why something failed.

The custom error codes via `enum` have been updated to be synonymous
with the `errno` codes for backward compatibility.

In addition, `pcf857x_init()` has been updated to no longer or
together the return code, but rather abort on the first fail transaction
and return the error code as is. Otherwise (when both fail due to
different error codes) the returned error code may be garbage.
2023-11-22 10:29:33 +01:00
..
include drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Kconfig drivers/pcf857x: Update kconfig model 2022-03-04 14:15:49 +01:00
Makefile drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Makefile.dep drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Makefile.include drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
pcf857x_saul.c drivers/saul: use const qualifier for data to write 2022-05-23 08:35:27 +02:00
pcf857x.c drivers/pcf857x: use errno code for error reporting 2023-11-22 10:29:33 +01:00