1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph
Marian Buschsieweke a6b459eff3
drivers/periph/gpio_ll: change gpio_ll_switch_dir API
It turns out that the feature to switch the GPIO direction quickly
is not only a way to emulate open drain / open source mode for less
sophisticated GPIO peripherals that do not natively support it.
It also enables tri-state output (push-pull high, push-pull low,
high impedance), which is useful e.g. for driven charlieplexed LEDs
quickly.

This changes the API by introducing a `gpio_ll_prepare_switch_dir()`
function that prepares the value used to identify which pins should
be switched to input or to output mode. This is useful for GPIO
peripherals in which the GPIO mode register does not allocate one bit
per pin (so that only the direction is given there), such as the one
for STM32. This allows an STM32 implementation in which preparing the
bitmask needed to modify the direction of pins is not trivial.
2024-08-08 16:22:36 +02:00
..
adc *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
adc_continuous periph/adc_continous: add test for ADC continous API 2023-11-10 12:10:49 +01:00
backup_ram *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
cpuid *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
dac *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
dma *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
eeprom *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
flashpage tests/periph/flashpage: make mtd_raw write bytes instead of ASCII 2024-05-06 17:48:00 +02:00
flashpage_unittest *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
fmc *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
freqm tests/periph: add test-application for peripheral freqm 2023-11-23 20:53:14 +01:00
gpio tests/*: Remove TEST_KCONFIG symbols 2024-03-27 10:28:14 +01:00
gpio_arduino *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
gpio_ll drivers/periph/gpio_ll: change gpio_ll_switch_dir API 2024-08-08 16:22:36 +02:00
hwrng tests/periph/hwrng: LIMIT -> NUM_BYTES 2024-05-29 14:20:49 +02:00
i2c *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
ltdc tests: move periph_ applications to periphs subdirectory 2023-05-06 15:29:51 +02:00
pio *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
pm *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
ptp_clock tests: move periph_ applications to periphs subdirectory 2023-05-06 15:29:51 +02:00
ptp_timer tests: move periph_ applications to periphs subdirectory 2023-05-06 15:29:51 +02:00
pwm *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
qdec *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
rtc *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
rtt *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
rtt_min *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
selftest_shield makefiles, treewide: Remove MCU variable 2024-02-18 20:46:09 +01:00
spi *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
spi_dma *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
timer tests/periph/timer: also test for idx out of range 2024-04-14 20:22:38 +02:00
timer_periodic *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
timer_short_relative_set *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
uart tests/periph/uart: clean up and add power off cmd 2024-05-07 14:45:49 +02:00
uart_locate_pins tests/periph/uart_locate_pins: new test/utility app 2024-01-18 10:42:13 +01:00
uart_mode *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
uart_nonblocking *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
vbat *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
wdt *app.config.test*: Remove kconfig dep files 2024-03-26 14:53:35 +01:00
Makefile.periph_common tests: move periph_ applications to periphs subdirectory 2023-05-06 15:29:51 +02:00