1 /* 2 * Copyright (c) 2021 Innoseis B.V 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_ 8 #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_ 9 10 #include <zephyr/device.h> 11 #include <sys/types.h> 12 13 #define EEPROM_TMP116_SIZE (4 * sizeof(uint16_t)) 14 15 int tmp116_eeprom_read(const struct device *dev, off_t offset, void *data, 16 size_t len); 17 18 int tmp116_eeprom_write(const struct device *dev, off_t offset, 19 const void *data, size_t len); 20 21 #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_ */ 22