revert(lcd): data line number auto detect

quad_mode and octal_mode are not bus attribute but transaction attribute
in esp-idf SPI master driver

Closes https://github.com/espressif/esp-idf/issues/17455
This commit is contained in:
morris
2025-09-10 17:24:25 +08:00
parent e3190c630a
commit 08dc794e25
5 changed files with 5 additions and 10 deletions

View File

@@ -36,6 +36,8 @@ typedef struct {
unsigned int dc_high_on_cmd: 1; /*!< If enabled, DC level = 1 indicates command transfer */
unsigned int dc_low_on_data: 1; /*!< If enabled, DC level = 0 indicates color data transfer */
unsigned int dc_low_on_param: 1; /*!< If enabled, DC level = 0 indicates parameter transfer */
unsigned int octal_mode: 1; /*!< transmit data and parameters with 8 lines */
unsigned int quad_mode: 1; /*!< transmit data and parameters with 4 lines */
unsigned int sio_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 */