1 /* 2 * Copyright (c) 2023 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_DRIVERS_SENSOR_F75303_F75303_H_ 8 #define ZEPHYR_DRIVERS_SENSOR_F75303_F75303_H_ 9 10 #include <zephyr/device.h> 11 #include <zephyr/sys/util.h> 12 13 #define F75303_LOCAL_TEMP_H 0x00 14 #define F75303_REMOTE1_TEMP_H 0x01 15 #define F75303_REMOTE1_TEMP_L 0x10 16 #define F75303_REMOTE2_TEMP_H 0x23 17 #define F75303_REMOTE2_TEMP_L 0x24 18 #define F75303_LOCAL_TEMP_L 0x29 19 20 struct f75303_data { 21 uint16_t sample_local; 22 uint16_t sample_remote1; 23 uint16_t sample_remote2; 24 }; 25 26 struct f75303_config { 27 struct i2c_dt_spec i2c; 28 }; 29 30 #endif 31