ESP-IDF
+
0
/1 examples
SourceVu will show references to
esp_lcd_panel_io_i2c_config_t
from the following samples and libraries:
i2c_oled sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_lcd_panel_io_i2c_config_t
esp_lcd_panel_io_i2c_config_t struct
Panel IO configuration structure, for I2C interface
Syntax
Show:
Summary
Declaration
from
esp_lcd_io_i2c.h:23
typedef
struct
{
uint32_t
dev_addr
;
esp_lcd_panel_io_color_trans_done_cb_t
on_color_trans_done
;
void
*
user_ctx
;
size_t
control_phase_bytes
;
unsigned
int
dc_bit_offset
;
int
lcd_cmd_bits
;
int
lcd_param_bits
;
struct
{
unsigned
int
dc_low_on_data
:
1
;
unsigned
int
disable_control_phase
:
1
;
}
flags
;
uint32_t
scl_speed_hz
;
}
esp_lcd_panel_io_i2c_config_t
;
Fields
Field
Declared as
Description
esp_lcd_panel_io_i2c_config_t::user_ctx
void
*
User private data, passed directly to on_color_trans_done's user_ctx.
esp_lcd_panel_io_i2c_config_t::control_phase_bytes
size_t
I2C LCD panel will encode control information (e.g. D/C selection) into control phase, in several bytes.
esp_lcd_panel_io_i2c_config_t::dc_bit_offset
unsigned
int
Offset of the D/C selection bit in control phase.
esp_lcd_panel_io_i2c_config_t::lcd_cmd_bits
int
Bit-width of LCD command.
esp_lcd_panel_io_i2c_config_t::lcd_param_bits
int
Bit-width of LCD parameter.
esp_lcd_panel_io_i2c_config_t::flags
struct
{
unsigned
int
dc_low_on_data
:
1
;
unsigned
int
disable_control_phase
:
1
;
}
Extra flags to fine-tune the I2C device.
esp_lcd_panel_io_i2c_config_t::scl_speed_hz
uint32_t
I2C LCD SCL frequency (hz).
esp_lcd_panel_io_i2c_config_t::dev_addr
uint32_t
I2C device address.
esp_lcd_panel_io_i2c_config_t::on_color_trans_done
esp_lcd_panel_io_color_trans_done_cb_t
Callback invoked when color data transfer has finished.
Related Functions
Found 2 other functions taking a
esp_lcd_panel_io_i2c_config_t
argument:
Function
Description
esp_lcd_new_panel_io_i2c_v2()
Create LCD panel IO handle, for I2C interface in new implementation
esp_lcd_new_panel_io_i2c_v1()
Create LCD panel IO handle, for I2C interface in legacy implementation
Examples
esp_lcd_panel_io_i2c_config_t
is referenced by 1 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out