1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/lpc23xx/periph
Marian Buschsieweke c2c2cc8592
drivers/periph_gpio: let gpio_read() return bool
Since https://github.com/RIOT-OS/RIOT/pull/20935 gpio_write()
uses a `bool` instead of an `int`. This does the same treatment for
`gpio_read()`.

This does indeed add an instruction to `gpio_read()` implementations.
However, users caring about an instruction more are better served with
`gpio_ll_read()` anyway. And `gpio_read() == 1` is often seen in
newcomer's code, which would now work as expected.
2024-10-23 13:24:09 +02:00
..
adc.c cpu/lpc23xx: rename lpc2387 to lpc23xx 2020-07-16 17:01:10 +02:00
dac.c cpu/lpc23xx: rename Doxygen group 2020-07-16 17:01:10 +02:00
flashpage.c Revert "cpu/lpc23xx: extend flashpage API" 2024-04-04 17:37:16 +02:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
i2c.c cpu/periph/i2c: update implementations to new I2C API 2021-11-29 06:35:25 +01:00
Makefile cpu/lpc23xx: rename lpc2387 to lpc23xx 2020-07-16 17:01:10 +02:00
pm.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
pwm.c cpu/lpc23xx: rename Doxygen group 2020-07-16 17:01:10 +02:00
rtc.c cpu/lpc23xx: implement rtc_get_time_ms() 2021-05-03 09:53:13 +02:00
spi.c cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
timer.c cpu/lpc23xx: timer: implement TIM_FLAG_SET_STOPPED 2022-04-28 13:27:59 +02:00
uart.c cpu/lpc23xx: rename Doxygen group 2020-07-16 17:01:10 +02:00