1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/gd32v/periph
bors[bot] f341ad6c9c
Merge #17045 #19243
17045: sys/coding: add XOR based coding module r=benpicco a=benpicco



19243: cpu/gd32v: add periph_gpio_ll and periph_gpio_ll_irq support r=benpicco a=gschorcht

### Contribution description

This PR provides the `periph_gpio_ll` and `periph_gpio_ll_irq` support for GD32VF103. Level triggered interrupts are emulated.

`periph_gpio_ll_irq` could be split off from this PR as a separate PR if necessary.

### Testing procedure

Use any GD32V board and connect PA0 -> PB0 and PA1 -> PB1 where PA is the output port and PB the input port. With these connections `tests/periph_gpio_ll` should work.
```
BOARD=sipeed-longan-nano make -j8 -C tests/periph_gpio_ll flash term
```

If necessary, change the input and output pins by setting the environment variables and connect the corresponding pins, for example for `seeedstudio-gd32` PA1 -> PB8 and PA8 -> PB9:
```
PIN_OUT_0=1 PIN_OUT_1=8  PIN_IN_0=8 PIN_IN_1=9 BOARD=seedstudio-gd32 make -j8 -C tests/periph_gpio_ll flash term
```

### Issues/PRs references


Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-02-07 17:39:20 +00:00
..
adc.c cpu/gd32v: add periph_adc support 2023-02-01 23:11:07 +01:00
dac.c cpu/gd32v: add periph_dac support 2023-02-07 02:41:06 +01:00
flashpage.c cpu/gd32v: fix periph_flashpage doc group 2023-01-27 06:46:51 +01:00
gpio_ll_irq.c cpu/gd32v: add perip_gpio_ll_irq support 2023-02-07 12:19:49 +01:00
gpio_ll.c cpu/gd32v: add gpio_ll support 2023-02-04 12:07:35 +01:00
gpio.c cpu/gd32v: add periph_gpio_irq support 2023-01-23 22:51:35 +01:00
i2c.c cpu/dg32v: add periph_i2c support 2023-01-31 20:12:04 +01:00
Kconfig cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
Makefile cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00
pm.c cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
pwm.c cpu/gd32v: add periph_pwm support 2023-01-28 18:16:17 +01:00
rtc_mem.c cpu/gd32v: add periph_rtc_mem support 2023-02-06 22:22:01 +01:00
rtc.c cpu/gd32v: add periph_rtc support 2023-01-22 17:53:44 +01:00
rtt.c cpu/gd32v: add periph_rtt support 2023-01-27 06:46:51 +01:00
spi.c cpu/gd32v: allow SPI pin remapping in config 2023-02-06 07:45:59 +01:00
timer.c cpu/gd32v: allow using TIMER0 as timer device 2023-01-28 17:46:45 +01:00
uart.c cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
wdt.c cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00