|
TB2026-YDS Firmware
|
Shared I2C master bus (expander, DAC control, fuel gauge). More...
#include "esp_err.h"#include "driver/i2c_master.h"Go to the source code of this file.
Macros | |
| #define | I2C_BUS_FREQ_HZ (400 * 1000) |
Functions | |
| esp_err_t | i2c_bus_init (i2c_master_bus_handle_t *out_handle) |
| Initialize the shared I2C master bus on the board's SDA/SCL pins. | |
| i2c_master_bus_handle_t | i2c_bus_handle (void) |
| The shared bus handle cached by i2c_bus_init(). | |
| void | i2c_bus_scan (i2c_master_bus_handle_t bus) |
| Probe 0x08..0x77 and log every ACKing address. Bring-up helper. | |
Shared I2C master bus (expander, DAC control, fuel gauge).