Searched refs:i2c_config_t (Results 1 – 12 of 12) sorted by relevance
95 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 …]
54 建立 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` 的解释如下:
33 i2c_config_t conf = {93 i2c_config_t conf = {
86 } i2c_config_t; typedef136 esp_err_t i2c_param_config(i2c_port_t i2c_num, const i2c_config_t *i2c_conf);
54 …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`).107 …i2c_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:
106 i2c_config_t conf_master = { in i2c_master_init()176 i2c_config_t conf_slave = { in i2c_slave_init()
41 i2c_config_t conf = {}; in I2CMaster()94 i2c_config_t conf = {}; in I2CSlave()
149 i2c_config_t conf = { in i2c_master_init()172 i2c_config_t conf_slave = { in i2c_slave_init()
67 i2c_config_t conf = { in i2c_master_init()
57 i2c_config_t es_i2c_cfg = { in es8311_codec_init()
52 i2c_config_t conf = { in i2c_master_driver_initialize()
651 esp_err_t i2c_param_config(i2c_port_t i2c_num, const i2c_config_t *i2c_conf) in i2c_param_config()