1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/kinetis/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/kinetis/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
dac.c kinetis: Remove periph driver xxx_NUMOF guards 2017-11-10 10:43:00 +01:00
flashpage.c cpu/kinetis: silence -Wcast-align 2021-12-03 10:12:34 +01:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
hwrng.c cpu*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
i2c.c cpu/periph/i2c: update implementations to new I2C API 2021-11-29 06:35:25 +01:00
ics.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Makefile kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
mcg_lite.c kinetis: Add support for MCG_Lite hardware 2020-10-24 22:12:32 +02:00
mcg.c kinetis: Add support for MCG_Lite hardware 2020-10-24 22:12:32 +02:00
pm.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
pwm.c kinetis: Filter out PWM code if no FTM exists 2018-03-02 15:38:39 +01:00
rtc.c kinetis/rtc: use RTC directly 2021-06-11 17:21:01 +02:00
rtt.c cpu/kinetis/rtt: remove callback on clear 2021-12-14 13:20:36 +01:00
spi.c boards/kinetis: replace GPIO_UNDEF with SPI_CS_UNDEF 2022-01-06 12:34:09 +01:00
timer.c cpu/kinetis: implement periph_timer_query_freqs 2023-12-07 16:17:31 +01:00
uart.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
wdog.c kinetis: add support for S9KEAZ128 2019-01-26 15:53:05 +01:00