1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/qn908x/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/qn908x: migrate ADC periph to ztimer 2021-12-04 17:49:57 +01:00
flexcomm.c cpu/qn908x/periph_i2c: enable internal pull-up on SCL 2023-06-13 14:43:36 +02:00
gpio_mux.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
i2c.c cpu/qn908x/periph_i2c: enable internal pull-up on SCL 2023-06-13 14:43:36 +02:00
Makefile cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
rtc.c drivers/periph/rtc: improve doc on rtc_set_alarm 2023-05-30 17:41:36 +02:00
spi.c cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
timer.c cpu/qn908x: implement periph_timer_query_freqs 2023-12-07 16:17:57 +01:00
uart.c cpu/qn908x: fix ENABLE_DEBUG definition 2021-01-08 14:37:33 +01:00
wdt.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00