1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atmega_common
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
..
include drivers/periph_gpio_ll: change API to access GPIO ports 2024-08-02 09:55:24 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
atmega_cpu.c cpu/atmega_common: hook up BAT LOW irq to power bus 2023-07-12 14:52:05 +02:00
doc.txt cpu/atmega_common: move PCINT documentation from boards 2021-11-22 12:25:57 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00
Makefile.dep cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00
Makefile.features drivers/periph_gpio_ll_irq: make support for both edges optional 2024-08-02 13:41:36 +02:00
Makefile.include cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00