esp_lcd: support serial interface-I mode for spi LCD

This commit is contained in:
Liu Zhongwei
2022-11-14 16:33:36 +08:00
parent 769ec42899
commit 48ce2037be
2 changed files with 2 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ typedef struct {
struct {
unsigned int dc_low_on_data: 1; /*!< If this flag is enabled, DC line = 0 means transfer data, DC line = 1 means transfer command; vice versa */
unsigned int octal_mode: 1; /*!< transmit with octal mode (8 data lines), this mode is used to simulate Intel 8080 timing */
unsigned int interface_I_mode: 1; /*!< Read and write through a single data line (MOSI) */
unsigned int lsb_first: 1; /*!< transmit LSB bit first */
unsigned int cs_high_active: 1; /*!< CS line is high active */
} flags; /*!< Extra flags to fine-tune the SPI device */