#include <stdint.h>
Go to the source code of this file.
◆ I2C_MASTER_FREQ_HZ
| #define I2C_MASTER_FREQ_HZ 100000 |
◆ I2C_MASTER_NUM
◆ I2C_MASTER_RX_BUF_DISABLE
| #define I2C_MASTER_RX_BUF_DISABLE 0 |
◆ I2C_MASTER_SCL_IO
| #define I2C_MASTER_SCL_IO 7 |
◆ I2C_MASTER_SDA_IO
| #define I2C_MASTER_SDA_IO 8 |
◆ I2C_MASTER_TIMEOUT_MS
| #define I2C_MASTER_TIMEOUT_MS 10 |
◆ I2C_MASTER_TX_BUF_DISABLE
| #define I2C_MASTER_TX_BUF_DISABLE 0 |
◆ i2c_master_init()
| esp_err_t i2c_master_init |
( |
| ) |
|
◆ i2c_receive()
| int i2c_receive |
( |
uint8_t | addr, |
|
|
uint8_t * | buf, |
|
|
int | n ) |
◆ i2c_transmit()
| int i2c_transmit |
( |
uint8_t | addr, |
|
|
uint8_t * | buf, |
|
|
int | n ) |
◆ i2c_transmit_persistent()
| int i2c_transmit_persistent |
( |
uint8_t | addr, |
|
|
uint8_t * | buf, |
|
|
int | n, |
|
|
int | retries ) |
◆ i2c_mutex
| SemaphoreHandle_t i2c_mutex |
|
extern |