ESP-IDF wrapper for default I²C master bus management. More...
#include "i2c_master.h"Functions | |
| i2c_bus_handle_t | i2c_master_bus_init (i2c_port_t p, i2c_sda_t d, i2c_scl_t c, i2c_freq_t f) |
| Initialize an I²C master bus. | |
| esp_err_t | i2c_master_bus_scan (i2c_bus_handle_t bus) |
| Scan for devices on the given I²C bus. | |
| void | i2c_master_bus_deinit (i2c_bus_handle_t bus) |
| Deinitialize the I²C master bus. | |
Variables | |
| static const char * | TAG = "i2c_bus" |
ESP-IDF wrapper for default I²C master bus management.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
|
static |