1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 17:52:47 +01:00
RIOT/cpu/sam0_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/sam0/periph: remove bitfield usage in ADC driver 2024-06-21 09:29:58 +02:00
cpuid.c cpu/samd5x: define CPU_COMMON_SAMD5X symbol and use it 2020-08-24 16:13:18 +02:00
dac.c cpu/sam0/periph: remove bitfield usage in DAC driver 2024-06-21 09:29:58 +02:00
dma.c cpu/sam0_common/periph_dma: Fix API mismatch 2024-10-09 23:00:06 +02:00
eth.c cpu/sam0/periph: remove bitfield usage in GMAC driver 2024-06-21 09:31:41 +02:00
flashpage.c cpu/sam0/periph: remove bitfield usage in flashpage driver 2024-06-21 09:31:41 +02:00
freqm.c cpu/sam0_common: implement freqm peripheral 2023-11-23 20:37:51 +01:00
gpio_ll_irq.c cpu/sam0/periph: remove bitfield usage in gpio_ll_irq driver 2024-06-21 09:42:46 +02:00
gpio_ll.c cpu/sam0/periph: remove bitfield usage in gpio_ll driver 2024-06-21 09:42:46 +02:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
hwrng.c cpu/sam0/periph: remove bitfield usage in trng driver 2024-06-25 16:13:16 +02:00
i2c.c cpu/sam0/periph: remove bitfield usage in I2C driver 2024-06-25 16:13:16 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Kconfig.spi *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pwm.c cpu/sam0/periph: remove bitfield usage in PWM driver 2024-06-25 16:13:16 +02:00
rtc_rtt.c cpu/sam0_common/periph: fix rtt reset after hibernation 2024-08-29 17:08:54 +02:00
spi.c cpu/sam0/periph: remove bitfield usage in SPI driver 2024-06-25 16:13:16 +02:00
timer.c cpu/sam0/periph: remove bitfield usage in timer driver 2024-06-25 16:13:16 +02:00
uart.c cpu/sam0/periph: remove bitfield usage in UART driver 2024-06-25 16:13:16 +02:00
usbdev.c cpu/sam0/periph: remove bitfield usage in usbdev driver 2024-06-25 16:13:17 +02:00
wdt.c cpu/sam0/periph: remove bitfield usage in watchdog driver 2024-06-25 16:13:17 +02:00