mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
arch/arm/src/stm32/stm32_spi.c: TI Synchronous Serial Frame Format. The SPI macros on STM32 MCUs do support the Texas Instruments Synchronous Serial Frame Format protocol (TI protocol). Defined a new SPIDEV_MODETI and add support for it in stm32_spi.c.
This commit is contained in:
committed by
Gregory Nutt
parent
b395cde043
commit
decd07725f
@@ -537,7 +537,8 @@ enum spi_mode_e
|
||||
SPIDEV_MODE0 = 0, /* CPOL=0 CHPHA=0 */
|
||||
SPIDEV_MODE1, /* CPOL=0 CHPHA=1 */
|
||||
SPIDEV_MODE2, /* CPOL=1 CHPHA=0 */
|
||||
SPIDEV_MODE3 /* CPOL=1 CHPHA=1 */
|
||||
SPIDEV_MODE3, /* CPOL=1 CHPHA=1 */
|
||||
SPIDEV_MODETI, /* CPOL=0 CPHA=1 TI Synchronous Serial Frame Format */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SPI_HWFEATURES
|
||||
|
||||
Reference in New Issue
Block a user