mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
drivers/spi/Kconfig and include/nuttx/spi/spi.h: Extend the HW features supported by SPI. It now supports a deffered DMA trigger hardware configuration. arch/arm/src/stm32/stm32_spi.c: Implements the new deferred DMA trigger feature.
This commit is contained in:
committed by
Gregory Nutt
parent
d2b98cc150
commit
8328539534
@@ -114,6 +114,17 @@ config SPI_CS_DELAY_CONTROL
|
||||
|
||||
This option enables the setdelay() interface method.
|
||||
|
||||
config SPI_TRIGGER
|
||||
bool "SPI DMA trigger"
|
||||
default n
|
||||
select SPI_HWFEATURES
|
||||
depends on SPI_EXCHANGE
|
||||
---help---
|
||||
Some architectures benefit from delaying the start of DMA from the
|
||||
DMA setup. If this option is selected, then an SPI_TRIGGER() method
|
||||
is supported: The DMA is setup with in in SPI_EXCHANGE() but does
|
||||
not actually begin until SPI_TRIGGER() is called.
|
||||
|
||||
config SPI_DRIVER
|
||||
bool "SPI character driver"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user