1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu
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
..
arm7_common boards/cpu: Add limited GBA boot support to RIOT 2024-04-10 17:06:14 +02:00
arm7tdmi_gba boards/cpu: Add limited GBA boot support to RIOT 2024-04-10 17:06:14 +02:00
atmega8 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega32u4 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega128rfa1 tree-wide: Introduce netif feature and use it 2024-05-22 10:39:56 +02:00
atmega256rfr2 tree-wide: Introduce netif feature and use it 2024-05-22 10:39:56 +02:00
atmega328p *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega1281 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega1284p *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega2560 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
atmega_common drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
atxmega drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
avr8_common *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
cc26x0_cc13x0 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
cc26x2_cc13x2 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
cc26xx_cc13xx drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
cc2538 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
cortexm_common cpu/cortexm: fix spelling mistake 2024-10-16 16:04:10 +02:00
efm32 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
esp32 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
esp8266 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
esp_common treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
fe310 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
gd32v drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
kinetis drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
lm4f120 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
lpc23xx drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
lpc1768 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
msp430 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
native drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
nrf5x_common drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
nrf51 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
nrf52 cpu/nrf52: fix RSSI calculation in nrf802154_radio 2024-08-28 12:39:15 +02:00
nrf53 *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
nrf9160 cpu/nrf9160: fix gpiote0 vector isr 2024-04-08 20:13:45 +02:00
qn908x drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
riscv_common riscv_common: Use unsiged long format specifier for printing CSR values 2024-08-12 15:09:00 +02:00
rpx0xx drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
sam0_common drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
sam3 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
sam_common cpu/sam_common: make use of cortexm.ld 2022-09-23 15:55:12 +02:00
samd5x cpu/samd5x/periph_cph.h: drop non-UTF-8 chars 2024-10-08 14:16:24 +02:00
samd21 cpu/samd21: avoid the use of bitfield 2024-05-30 12:01:24 +02:00
saml1x cpu/saml1x: avoid the use of bitfield 2024-05-29 17:45:25 +02:00
saml21 cpu/saml21: avoid the use of bitfield 2024-05-30 17:29:00 +02:00
stellaris_common cpu: do not locally export compilation variables 2019-08-29 10:35:53 +02:00
stm32 drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
doc.txt docs/doxygen : Add CPU section 2021-07-09 10:47:42 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00