Searched refs:I2CException (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/ |
D | i2c_cxx.cpp | 23 #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/ |
D | i2c_cxx.hpp | 25 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/ |
D | sensor_mcp9808.cpp | 49 } catch (const I2CException &e) { in app_main()
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/ |
D | test_i2c.cpp | 64 TEST_THROW(I2CMaster(0, 255, 255, 400000), I2CException); 69 TEST_THROW(I2CMaster(0, 0, 0, 400000), I2CException);
|