1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/nrf5x_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
..
flashpage.c cpu/nrf5x_common: update periph_flashpage for nRF9160 support 2021-11-17 14:05:51 +01:00
gpio_ll_irq.c drivers/periph_gpio_ll: change API to access GPIO ports 2024-08-02 09:55:24 +02:00
gpio_ll.c drivers/periph/gpio_ll: pass gpio_conf_t by value 2024-01-21 09:19:08 +01:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
hwrng.c cpu/nrf52: remove specific handling of softdevice 2020-10-29 09:02:12 +01:00
i2c_nrf52_nrf9160.c cpu/nrf52 i2c: Wait for complete transmission when writing NOSTOP 2024-01-27 09:41:26 +01:00
Makefile cpu/nrf53: enable I2C/SPI support 2023-07-11 23:43:35 +02:00
pm.c cpu/nrf5x: implement pm_off() for nRF53/9160 2024-04-18 13:33:36 +02:00
pwm_nrfxx.c cpu/nrf5x_common: share nRF52 PWM driver with nRF53/nRF9160 2023-07-08 16:53:41 +02:00
qdec.c nrf5x_common: Add qdec peripheral implementation 2021-11-16 15:21:51 +01:00
rtt.c cpu/nrf5x_common/periph/rtt: add IRQ conf for nRF53 and nRF9160 2023-07-07 09:18:51 +02:00
spi_nrf52_nrf9160.c cpu/nrfxx: use shared serial IRQ 2023-07-11 22:42:10 +02:00
temperature.c drivers/saul: use const qualifier for data to write 2022-05-23 08:35:27 +02:00
timer.c cpu/nrf5x: Tolerate NULL callback in timers 2023-12-19 11:13:40 +01:00
uart.c cpu/nrf5x_common: clean up UART implementation 2023-11-27 09:49:01 +01:00
usbdev.c cpu/nrf5x_common: move usbdev driver to nrf5x_common 2023-07-07 10:53:55 +02:00
wdt.c cpu/nrf5x/periph/wdt: add compatibility wrapper for nRF9160/nRF53 2023-07-05 09:48:44 +02:00