1 /* 2 * Copyright (c) 2024 SILA Embedded Solutions GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_DRIVERS_SENSOR_MAX31790_MAX31790_FAN_SPEED_H_ 8 #define ZEPHYR_DRIVERS_SENSOR_MAX31790_MAX31790_FAN_SPEED_H_ 9 10 #include <zephyr/drivers/i2c.h> 11 12 struct max31790_fan_speed_config { 13 struct i2c_dt_spec i2c; 14 uint8_t channel_id; 15 }; 16 17 struct max31790_fan_speed_data { 18 uint16_t rpm; 19 }; 20 21 #endif /* ZEPHYR_DRIVERS_SENSOR_MAX31790_MAX31790_FAN_SPEED_H_ */ 22