1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 03:32:49 +01:00
RIOT/boards/common/gd32v/include
Gunar Schorcht edbf59e37e boards/common/gd32v: flexible default SPI configuration
The default SPI device configuration allows to define up to two SPI devices `SPI_DEV(0)` and `SPI_DEV(1)`. `SPI_DEV(0)` is always defined if the SPI peripheral is enabled by the module `periph_spi`. The second SPI device `SPI_DEV(1)` is only defined if `SPI_DEV_1_USED` is defined by the board. This allows to use the default configuration with one or two SPI devices depending on whether other peripherals are enabled that would collide with the SPI devices.
Furthermore, the CS signal in the SPI configuration is given by a define that can be overriden with another pin if
the default CS signal is connected to an unused hardware.
2023-02-06 07:57:13 +01:00
..
board_common.h boards/common: add common timer config for GD32VF103 boards 2023-01-27 21:39:22 +01:00
cfg_i2c_default.h boards/common/gd32v: flexible default I2C configuration 2023-02-06 07:57:13 +01:00
cfg_spi_default.h boards/common/gd32v: flexible default SPI configuration 2023-02-06 07:57:13 +01:00
cfg_timer_default.h boards/common/gd32v: change default timer configuration 2023-01-28 18:16:17 +01:00
cfg_uart_default.h
periph_common_conf.h cpu/gd32v: move board dependent RTT configs to board config 2023-01-29 18:51:59 +01:00