1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00
Marian Buschsieweke 6028097132
cpu/stm32/periph_gpio_ll: Fix and clean up
The separate Schmitt trigger bit in the configuration is dropped, as
the Schmitt trigger is only every disabled when in `GPIO_DISCONNECT`
mode. So no need to encode the same information twice.

The `gpio_state_t` is improved to be a bitmask that holds the
MODER register value and a flag indicating whether open-drain mode
should be enabled.

Finally, `GPIO_DISCONNECT` is implemented. This is done by placing the
GPIO in analog mode, which by disabling the Schmitt trigger reduces
power consumption.
2024-02-05 08:21:51 +01:00
..
2023-01-08 22:26:12 +01:00
2023-06-28 11:55:34 +02:00
2023-01-08 22:26:12 +01:00
2023-01-08 22:26:12 +01:00
2023-11-26 21:33:23 +01:00
2023-12-19 11:13:43 +01:00
2023-12-19 11:13:43 +01:00
2023-05-24 09:53:23 +02:00
2021-07-09 10:47:42 +02:00