Home
last modified time | relevance | path

Searched refs:i2c_config_t (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-3.6.0/components/driver/test/
Dtest_i2c.c95 static i2c_config_t i2c_master_init(void) in i2c_master_init()
97 i2c_config_t conf_master = { in i2c_master_init()
109 static i2c_config_t i2c_slave_init(void) in i2c_slave_init()
111 i2c_config_t conf_slave = { in i2c_slave_init()
131 i2c_config_t conf_master = i2c_master_init();
149 i2c_config_t conf_slave = i2c_slave_init();
169 i2c_config_t conf_master = i2c_master_init();
191 i2c_config_t conf_slave = i2c_slave_init();
209 i2c_config_t conf_master = i2c_master_init();
238 i2c_config_t conf_master = i2c_master_init();
[all …]
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Di2c.rst54 建立 I2C 通信第一步是配置驱动程序,这需要设置 :cpp:type:`i2c_config_t` 结构中的几个参数:
68 然后,初始化给定 I2C 端口的配置,请使用端口号和 :cpp:type:`i2c_config_t` 作为函数调用参数来调用 :cpp:func:`i2c_param_config` 函数。
75 i2c_config_t conf = {
90 i2c_config_t conf_slave = {
105 增加了 **时钟源分配器**,用于支持不同的时钟源。时钟分配器将选择一个满足所有频率和能力要求的时钟源(如 :cpp:member:`i2c_config_t::clk_flags` 中的要求)。
107 … :cpp:member:`i2c_config_t::clk_flags` 为 0 时,时钟分配器将仅根据所需频率进行选择。如果不需要诸如 APB 之类的特殊功能,则可以将时钟分配器配置为仅根据…
147 对 :cpp:member:`i2c_config_t::clk_flags` 的解释如下:
189 对 :cpp:member:`i2c_config_t::clk_flags` 的解释如下:
/hal_espressif-3.6.0/components/esp_lcd/test/
Dtest_i2c_lcd_panel.c33 i2c_config_t conf = {
93 i2c_config_t conf = {
/hal_espressif-3.6.0/components/driver/include/driver/
Di2c.h86 } i2c_config_t; typedef
136 esp_err_t i2c_param_config(i2c_port_t i2c_num, const i2c_config_t *i2c_conf);
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Di2c.rst54 …uring the driver. This is done by setting the parameters of the structure :cpp:type:`i2c_config_t`:
68 …:func:`i2c_param_config` and pass to it the port number and the structure :cpp:type:`i2c_config_t`.
75 i2c_config_t conf = {
90 i2c_config_t conf_slave = {
105 …e requirements of frequency and capability (as requested in :cpp:member:`i2c_config_t::clk_flags`).
107i2c_config_t::clk_flags` is 0, the clock allocator will select only according to the desired frequ…
147 Explanations for :cpp:member:`i2c_config_t::clk_flags` are as follows:
189 Explanations for :cpp:member:`i2c_config_t::clk_flags` are as follows:
/hal_espressif-3.6.0/tools/test_apps/peripherals/i2c_wifi/main/
Di2c_wifi_main.c106 i2c_config_t conf_master = { in i2c_master_init()
176 i2c_config_t conf_slave = { in i2c_slave_init()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Di2c_cxx.cpp41 i2c_config_t conf = {}; in I2CMaster()
94 i2c_config_t conf = {}; in I2CSlave()
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/
Di2c_example_main.c149 i2c_config_t conf = { in i2c_master_init()
172 i2c_config_t conf_slave = { in i2c_slave_init()
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_simple/main/
Di2c_simple_main.c67 i2c_config_t conf = { in i2c_master_init()
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_es8311/main/
Di2s_es8311_example.c57 i2c_config_t es_i2c_cfg = { in es8311_codec_init()
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/
Dcmd_i2ctools.c52 i2c_config_t conf = { in i2c_master_driver_initialize()
/hal_espressif-3.6.0/components/driver/
Di2c.c651 esp_err_t i2c_param_config(i2c_port_t i2c_num, const i2c_config_t *i2c_conf) in i2c_param_config()