1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 00:29:46 +01:00
RIOT/cpu/rpx0xx
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 cpu/rpx0xx: add PWM support 2024-03-18 21:04:27 +01:00
ldscripts cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
pio/i2c cpu/rpx0xx: Add PIO I2C implementation 2023-05-23 08:49:37 +02:00
vendor/boot_stage2 cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
boot2_w25q080_padded_checksummed.S cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
clock.c cpu/rpx0xx: initialize USB PLL and ADC clock 2023-04-25 21:12:42 +02:00
cpu.c cpu/rpx0xx: initialize USB PLL and ADC clock 2023-04-25 21:12:42 +02:00
doc.txt cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/rpx0xx: Add PIO I2C implementation 2023-05-23 08:49:37 +02:00
Makefile.dep cpu/rpx0xx: Add PIO I2C implementation 2023-05-23 08:49:37 +02:00
Makefile.features cpu/rpx0xx: Add PIO I2C implementation 2023-05-23 08:49:37 +02:00
Makefile.include cpu/rpx0xx: Add PIO implementation 2023-05-23 08:49:37 +02:00
pll.c cpu/rpx0xx: Update vendor header files 2023-03-22 19:34:29 +01:00
rosc.c cpu/rpx0xx: Update vendor header files 2023-03-22 19:34:29 +01:00
vectors.c cpu/rpx0xx: add support for the RP2040 MCU 2021-07-14 12:41:20 +02:00
xosc.c cpu/rpx0xx: Update vendor header files 2023-03-22 19:34:29 +01:00