1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/efm32/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_series2.c cpu/efm32/adc: add support for Gecko Series 2 2022-11-22 14:44:56 +01:00
adc_series01.c cpu/efm32/adc: add support for Gecko Series 2 2022-11-22 14:44:56 +01:00
cpuid.c cpu: efm32_common + ef32mg1p: replace with generalized efm32 cpu 2017-12-19 20:04:37 +01:00
dac.c cpu/efm32: add DAC support for EFM32 Series1 (VDAC) 2023-08-30 16:47:52 +02:00
flashpage.c efm32: Adapt to flashpage/flashpage_pagewise API 2020-11-11 23:16:39 +01:00
gpio_ll.c cpu/efm32: expose pull up on GPIO_DISCONNECT 2024-02-05 08:21:51 +01:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
hwrng_series1.c cpu/efm32/hwrng: add series 2 periph driver 2022-10-24 23:16:39 +02:00
hwrng_series2.c cpu/efm32/hwrng: add series 2 periph driver 2022-10-24 23:16:39 +02:00
i2c.c cpu/efm32/i2c: add series 2 support 2022-10-24 23:16:39 +02:00
Kconfig.timer cpu/efm32/Kconfig: add EFM32_XTIMER_USE_LETIMER config 2020-09-02 15:31:28 +02:00
Makefile cpu/efm32/adc: add support for Gecko Series 2 2022-11-22 14:44:56 +01:00
pm.c cpu/efm32/pm: add debug output 2022-10-19 18:17:43 +02:00
pwm.c cpu/efm32: pwm_init errors are zeros 2023-03-17 13:02:20 +01:00
rtc_series0.c cpu/efm32: RTC Series 0: use RTC helper functions 2020-11-09 17:57:57 +01:00
rtc_series1.c cpu/efm32/periph/rtc_series1: normalize time 2020-01-22 10:03:49 +01:00
rtt_series0.c cpu/efm32: add RTT_FREQUENCY support to efm32 2021-04-20 11:12:45 +02:00
rtt_series1.c cpu/efm32: add RTT_FREQUENCY support to efm32 2021-04-20 11:12:45 +02:00
spi.c cpu/efm32/spi: add series 2 support 2022-10-24 23:16:39 +02:00
timer_series2.c cpu/efm32/timer_series2: sync STATUS register 2022-10-28 11:34:55 +02:00
timer_series01.c cpu/efm32/timer: add series 2 periph driver 2022-10-24 23:16:39 +02:00
uart_series2.c cpu/efm32/uart: add modecfg support for Gecko Series 2 2022-11-21 23:17:52 +01:00
uart_series01.c cpu/efm32/uart: add series 2 periph driver 2022-10-24 23:16:38 +02:00
wdt_series0.c cpu/efm32/periph/wdt: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
wdt_series12.c cpu/efm32/wdt: add series 2 support 2022-10-24 23:16:39 +02:00