ESP-IDF
I2C_MODE_SLAVE
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
I2C_MODE_SLAVE
I2C_MODE_SLAVE value
I2C slave mode
Syntax
Show:
Summary
Declaration
from
i2c_types.h:60
I2C_MODE_SLAVE
=
0
;
Examples
References
from
examples
Code
Location
Referrer
I2C_MODE_SLAVE
=
0
,
/*!< I2C slave mode */
i2c_types.h:60
if
(
mode
==
I2C_MODE_SLAVE
)
{
i2c.c:334
i2c_driver_install()
if
(
mode
==
I2C_MODE_SLAVE
)
{
i2c.c:422
i2c_driver_install()
if
(
i2c_conf
->
mode
==
I2C_MODE_SLAVE
)
{
//slave mode
i2c.c:811
i2c_param_config()
(
GPIO_IS_VALID_GPIO
(
scl_io_num
)
&&
mode
==
I2C_MODE_SLAVE
)
||
i2c.c:972
i2c_set_pin()
ESP_RETURN_ON_FALSE
(
p_i2c_obj
[
i2c_num
]
->
mode
==
I2C_MODE_SLAVE
,
ESP_FAIL
,
I2C_TAG
,
I2C_MODE_SLAVE_ERR_STR
)
;
i2c.c:1648
i2c_slave_write_buffer()
ESP_RETURN_ON_FALSE
(
p_i2c_obj
[
i2c_num
]
->
mode
==
I2C_MODE_SLAVE
,
ESP_FAIL
,
I2C_TAG
,
I2C_MODE_SLAVE_ERR_STR
)
;
i2c.c:1678
i2c_slave_read_buffer()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
I2C_MODE_SLAVE
is read by 5 functions:
All items filtered out
I2C_MODE_SLAVE
i2c_driver_install()
i2c_param_config()
i2c_set_pin()
i2c_slave_write_buffer()
i2c_slave_read_buffer()
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