Home
last modified time | relevance | path

Searched refs:I2CException (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Di2c_cxx.cpp23 #define I2C_CHECK_THROW(err) CHECK_THROW_SPECIFIC((err), I2CException)
25 I2CException::I2CException(esp_err_t error) : ESPException(error) { } in I2CException() function in idf::I2CException
27 I2CTransferException::I2CTransferException(esp_err_t error) : I2CException(error) { } in I2CTransferException()
75 if (!read_n_bytes) throw I2CException(ESP_ERR_INVALID_ARG); in sync_transfer()
170 if (!size) throw I2CException(ESP_ERR_INVALID_ARG); in add_read()
177 if (bytes.empty()) throw I2CException(ESP_ERR_INVALID_ARG); in add_write()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/
Di2c_cxx.hpp25 struct I2CException : public ESPException { struct
26 I2CException(esp_err_t error);
29 struct I2CTransferException : public I2CException {
452 throw I2CException(ESP_ERR_NO_MEM); in I2CCommandLink()
469 CHECK_THROW_SPECIFIC(i2c_master_stop(cmd_link.handle), I2CException); in do_transfer()
479 if (!xfer) throw I2CException(ESP_ERR_INVALID_ARG); in transfer()
/hal_espressif-3.6.0/examples/cxx/experimental/sensor_mcp9808/main/
Dsensor_mcp9808.cpp49 } catch (const I2CException &e) { in app_main()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_i2c.cpp64 TEST_THROW(I2CMaster(0, 255, 255, 400000), I2CException);
69 TEST_THROW(I2CMaster(0, 0, 0, 400000), I2CException);