53 mraa_i2c_context _i2c_context;
upm_result_t ims_get_version(const ims_context *dev, uint16_t *rd_data)
Definition: ims.c:165
void ims_close(ims_context *dev)
Definition: ims.c:95
ims_context * ims_init(int16_t i2c_bus, int16_t i2c_address)
Definition: ims.c:66
upm_result_t ims_sleep(const ims_context *dev)
Definition: ims.c:227
upm_result_t ims_reset_i2c_address(ims_context *dev, uint8_t address_new)
Definition: ims.c:211
upm_result_t ims_read(const ims_context *dev, IMS_RD_COMMAND cmd, uint16_t *rd_data)
Definition: ims.c:104
upm_result_t ims_get_temperature(const ims_context *dev, uint16_t *rd_data)
Definition: ims.c:201
upm_result_t ims_get_light(const ims_context *dev, uint16_t *rd_data)
Definition: ims.c:175
upm_result_t ims_reset(const ims_context *dev)
Definition: ims.c:206
upm_result_t ims_write(const ims_context *dev, IMS_WR_COMMAND cmd, uint8_t wr_data)
Definition: ims.c:140
upm_result_t ims_get_moisture(const ims_context *dev, uint16_t *rd_data)
Definition: ims.c:170