1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atxmega/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
..
cpuid.c cpu: Introduce Atmel xmega cpu 2021-03-15 20:16:10 -03:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
i2c.c cpu/atxmega: Fix PM states on peripherals 2023-12-01 14:12:23 +01:00
Makefile cpu: Introduce Atmel xmega cpu 2021-03-15 20:16:10 -03:00
nvm.c cpu: Introduce Atmel xmega cpu 2021-03-15 20:16:10 -03:00
pm.c cpu/avr8: Enable PM periph to all SoC 2023-12-01 14:12:23 +01:00
spi.c cpu/atxmega: Fix PM states on peripherals 2023-12-01 14:12:23 +01:00
timer.c cpu/avr8_common: Add AVR8_ISR macro 2023-07-05 20:00:19 +02:00
uart.c cpu/avr8_common: Add AVR8_ISR macro 2023-07-05 20:00:19 +02:00