Home
last modified time | relevance | path

Searched refs:I2CMaster (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Di2c_cxx.cpp33 I2CMaster::I2CMaster(i2c_port_t i2c_number, in I2CMaster() function in idf::I2CMaster
52 I2CMaster::~I2CMaster() in ~I2CMaster()
57 void I2CMaster::sync_write(uint8_t i2c_addr, const vector<uint8_t> &data) in sync_write()
64 std::vector<uint8_t> I2CMaster::sync_read(uint8_t i2c_addr, size_t n_bytes) in sync_read()
71 vector<uint8_t> I2CMaster::sync_transfer(uint8_t i2c_addr, in sync_transfer()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/
Di2c_cxx.hpp139 class I2CMaster : public I2CBus { class
157 I2CMaster(i2c_port_t i2c_number,
167 virtual ~I2CMaster();
477 std::future<typename TransferT::TransferReturnT> I2CMaster::transfer(std::shared_ptr<TransferT> xfe… in transfer()
/hal_espressif-3.6.0/examples/cxx/experimental/sensor_mcp9808/main/
Dsensor_mcp9808.cpp44 …shared_ptr<I2CMaster> master(new I2CMaster(I2C_MASTER_NUM, I2C_MASTER_SCL_IO, I2C_MASTER_SDA_IO, 4… in app_main()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_i2c.cpp55 master(new I2CMaster(I2C_MASTER_NUM, I2C_MASTER_SCL_IO, I2C_MASTER_SDA_IO, 400000)),
58 std::shared_ptr<I2CMaster> master;
64 TEST_THROW(I2CMaster(0, 255, 255, 400000), I2CException);
69 TEST_THROW(I2CMaster(0, 0, 0, 400000), I2CException);
/hal_espressif-3.6.0/examples/cxx/experimental/sensor_mcp9808/
DREADME.md16 Pullups aren't necessary as the default pullups are enabled in the I2CMaster class.