1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430/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 Revert "cpu/msp430_common: extend flashpage API" 2024-04-04 17:57:19 +02:00
gpio_ll_irq.c cpu/msp430: implement gpio_ll_irq 2024-08-02 13:41:37 +02:00
gpio_ll.c cpu/msp430: add periph_gpio_ll 2024-08-02 13:41:37 +02:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
Makefile cpu/msp430/f2xx: clean up periph_uart,periph_spi 2024-03-27 18:54:07 +01:00
pm.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
spi_usart.c cpu/msp430: rework MSP430 x1xx periph drivers 2024-01-22 16:59:23 +01:00
spi_usci.c cpu/msp430/f2xx: clean up periph_uart,periph_spi 2024-03-27 18:54:07 +01:00
timer.c cpu/msp430: implement power management 2024-04-26 15:52:41 +02:00
uart_usart.c cpu/msp430: rework MSP430 x1xx periph drivers 2024-01-22 16:59:23 +01:00
uart_usci.c cpu/msp430/periph_uart: Fix uart_write() for USCI peripheral 2024-04-15 14:43:10 +02:00
usart.c cpu/msp430: implement power management 2024-04-26 15:52:41 +02:00
usci.c cpu/msp430: implement power management 2024-04-26 15:52:41 +02:00