1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/nrf5x_common
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
..
include drivers/periph/gpio_ll: shrink gpio_conf_t 2024-01-21 08:38:40 +01:00
periph drivers/periph/gpio_ll: shrink gpio_conf_t 2024-01-21 08:38:40 +01:00
radio netdev_drivers: make sure to signal LINK_UP at least once 2022-09-16 22:57:28 +02:00
shared_irq cpu/nrfxx: introduce shared serial IRQ 2023-07-11 22:39:23 +02:00
clock.c cpu/nrfxx: simplify LFCLK source selection 2023-07-06 15:47:22 +02:00
doc.txt cpu/nrf5x_common: Give Doxygen group a name 2016-03-14 23:09:49 +01:00
Kconfig drivers/periph: Add timer_poll feature and timer_poll_channel function 2023-12-19 11:13:41 +01:00
Makefile cpu/nrfxx: use shared serial IRQ 2023-07-11 22:42:10 +02:00
Makefile.dep pkg/nimble: conditional compilation of nRF5x code 2022-08-24 09:03:38 +02:00
Makefile.features drivers/periph: Add timer_poll feature and timer_poll_channel function 2023-12-19 11:13:41 +01:00
Makefile.include cpu/nrf51: use cortexm.ld 2022-09-23 15:55:05 +02:00