1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atmega_common/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/atmega_common: Add PM on peripherals 2023-12-01 14:12:23 +01:00
cpuid.c cpu/atmega_common: cpuid: add a word of warning 2019-11-11 18:07:09 +01:00
eeprom.c cpu/atmega_common: some additional periph drivers fixed for atmega8 cpu 2023-07-11 21:22:02 +02:00
gpio_ll_irq.c drivers/periph_gpio_ll: change API to access GPIO ports 2024-08-02 09:55:24 +02:00
gpio_ll.c cpu/atmega_common: Make GPIO_DISCONNECT alias for GPIO_INPUT 2024-01-23 15:03:34 +01:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
i2c.c cpu/atmega_common: Add PM on peripherals 2023-12-01 14:12:23 +01:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c cpu/atmega_common: add cpu.c and startup.c common code 2018-11-02 16:23:47 +01:00
pwm.c cpu/atmega_common: checking features instead of CPU models 2023-07-04 23:17:21 +02:00
rtc.c cpu/avr8_common: Add AVR8_ISR macro 2023-07-05 20:00:19 +02:00
rtt.c cpu: atmega_common: rtt: Fix vera warnings 2023-07-05 20:00:19 +02:00
spi.c cpu/atmega_common: Add PM on peripherals 2023-12-01 14:12:23 +01:00
timer.c cpu/atmega_common: implement periph_timer_query_freqs 2023-12-07 16:15:22 +01:00
uart.c cpu/avr8_common: Add AVR8_ISR macro 2023-07-05 20:00:19 +02:00
wdt.c cpu/atmega_common: some additional periph drivers fixed for atmega8 cpu 2023-07-11 21:22:02 +02:00