mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
spi_lcd: don't support dc_as_cmd_phase
The current SPI hardware can't support 9bit SPI data format very well (i.e. inserting an extra bit before each data byte) Closes https://github.com/espressif/esp-idf/pull/8644
This commit is contained in:
@@ -114,7 +114,6 @@ typedef struct {
|
||||
int lcd_cmd_bits; /*!< Bit-width of LCD command */
|
||||
int lcd_param_bits; /*!< Bit-width of LCD parameter */
|
||||
struct {
|
||||
unsigned int dc_as_cmd_phase: 1; /*!< D/C line value is encoded into SPI transaction command phase */
|
||||
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 lsb_first: 1; /*!< transmit LSB bit first */
|
||||
|
Reference in New Issue
Block a user