1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/rpx0xx/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/rpx0xx: add minimal ADC support 2023-04-27 12:15:19 +02:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
i2c.c cpu/rpx0xx: Add PIO I2C implementation 2023-05-23 08:49:37 +02:00
Makefile cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
pio.c cpu/rpx0xx: add convenience functions to initialize mapped PIO pins 2023-05-23 08:49:37 +02:00
pwm.c cpu/rpx0xx: add PWM support 2024-03-18 21:04:27 +01:00
spi.c cpu/rpx0xx: add spi functionality 2023-05-01 12:13:15 +02:00
timer.c cpu/rpx0xx: Update vendor header files 2023-03-22 19:34:29 +01:00
uart.c treewide: replace occurrences of tests/periph_ with new path 2023-05-06 15:33:03 +02:00