1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/periph_common
Marian Buschsieweke 6fb369d4fc
drivers/periph/gpio_ll: Add API to switch direction
This adds two functions:

    void gpio_ll_switch_dir_output(gpio_port_t port, uword_t outputs);
    void gpio_ll_switch_dir_input(gpio_port_t port, uword_t inputs);

The first configures GPIO pins specified by a bitmask as output, the
second configures the specified pins as input.

The main use case is to allow bit-banging bidirectional protocols using
more basic GPIO peripherals that do not implement open drain mode, such
as found e.g. on MSP430, ATmega, or SAM0.

It is not intended to implement this feature on modern MCUs with
sophisticated GPIO peripherals.
2024-02-05 10:56:16 +01:00
..
cpuid.c drivers/periph_cpuid: Minor cleanup 2022-04-11 12:01:57 +02:00
eeprom.c drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
flashpage.c drivers/periph_common/flashpage: fix silent error 2023-01-19 11:00:40 -05:00
gpio_ll_irq.c drivers: Add periph/gpio_ll API 2022-04-22 08:39:04 +02:00
gpio_ll.c drivers/periph_gpio_ll: Add features for compile-time-checks 2024-01-23 15:03:34 +01:00
gpio.c drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
i2c.c drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
init_buttons.c drivers/periph_common: add periph_init_buttons to init on-board buttons 2022-02-26 22:45:46 +01:00
init_leds.c drivers/periph_common: add periph_init_leds to init all on-board LEDs 2022-02-18 14:35:43 +01:00
init.c Merge #19539 #19815 #19860 #19886 2023-08-23 16:55:09 +00:00
Kconfig drivers/ws281x: Fix Kconfig 2023-12-19 11:13:43 +01:00
Kconfig.flashpage periph/flashpage: Add _in_address_space feature 2022-03-17 19:45:54 +01:00
Kconfig.gpio periph/gpio: Model TAMPER_WAKE for kconfig 2021-11-29 09:12:28 +01:00
Kconfig.gpio_ll drivers/ws281x: Fix Kconfig 2023-12-19 11:13:43 +01:00
Kconfig.i2c cpu/esp32: model Kconfig 2021-12-10 18:54:07 +01:00
Kconfig.leds drivers/periph_common: add periph_init_leds to init all on-board LEDs 2022-02-18 14:35:43 +01:00
Kconfig.rtc sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
Kconfig.sdmmc drivers/sdmmc: add low-levl SD Host Controller implementation 2023-09-23 19:26:30 +02:00
Kconfig.spi drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
Kconfig.timer drivers/periph_timer: add periph_timer_query_freqs 2023-12-05 16:07:24 +01:00
Kconfig.uart Merge pull request #16681 from benpicco/drivers/dose-collision 2021-12-08 20:48:28 +01:00
Kconfig.usbdev drivers/periph_common: add periph_usbdev_hs feature in Kconfig 2023-03-16 07:47:18 +01:00
Kconfig.vbat cpu/stm32: add VBAT for stm32 2022-02-21 10:49:43 +01:00
Kconfig.wdt drivers/periph_common: remove redundant entry 2020-09-02 15:31:28 +02:00
Makefile drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
Makefile.dep drivers/periph/gpio_ll: Add API to switch direction 2024-02-05 10:56:16 +01:00
pm.c drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
ptp_timer.c drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
spi.c drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
timer.c drivers/periph_timer: add periph_timer_query_freqs 2023-12-05 16:07:24 +01:00