1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00
RIOT/cpu/stm32/include
Marian Buschsieweke 2a00ec13e5
drivers/periph/gpio_ll: shrink gpio_conf_t
This commit optimizes the `gpio_conf_t` type in the following
regards:

- The "base" `gpio_conf_t` is stripped from members that only some
  platforms support, e.g. drive strength, slew rate, and disabling of
  the Schmitt Trigger are no longer universally available but
  platform-specific extensions
- The `gpio_conf_t` is now crammed into a bit-field that is 8 bit or
  16 bit wide. This allows for storing lots of them e.g. in
  `driver_foo_params_t` or `uart_conf_t` etc.
- A `union` of the `struct` with bit-field members and a `bits` is used
  to allow accessing all bits in a simple C statement and to ensure
  alignment for efficient handling of the type

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2024-01-21 08:38:40 +01:00
..
clk cpu/stm32/periph: add SDMMC support for F2/F4/F7/L4 2023-12-21 18:37:43 +01:00
periph drivers/periph/gpio_ll: shrink gpio_conf_t 2024-01-21 08:38:40 +01:00
vendor cpu/stm32: update stm32u5 patch 2023-08-28 09:47:44 +02:00
.gitignore cpu/stm32: add tool to generate a header with IRQ numof defines 2020-09-02 11:30:49 +02:00
can_params.h boards/nucleo-f722ze: Add periph_can support 2021-03-05 23:22:44 -05:00
candev_stm32.h cpu/stm32: candev: derive number of CAN interfaces from vendor header 2021-03-09 11:30:21 +01:00
cpu_conf.h cpu/cortexm_common: work around bug on WFI for STM32 2023-12-05 15:16:55 +01:00
gpio_ll_arch.h cpu/stm32: stm32f4 BRR from BSRR 2023-05-30 16:06:35 +02:00
lcd_fmc.h cpu/stm32: add FMC support for LCD with parallel interface 2023-10-12 18:19:03 +02:00
periph_cpu.h cpu/stm32/periph: add SDMMC support for F2/F4/F7/L4 2023-12-21 18:37:43 +01:00
stmclk.h cpu/{cortexm_common, stm32}: add support for backup RAM 2022-01-21 15:53:18 +01:00
tinyusb_hw_defaults.h pkg/tinyusb: fix USB speed selection for STM32 2022-11-17 14:07:38 +01:00
usbdev_stm32.h cpu/stm32: clarify units in USB FIFO size definitions 2023-04-16 22:59:11 +02:00