1 /* 2 * Copyright (c) 2023 SILA Embedded Solutions GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_DRIVERS_SENSOR_INFINEON_TLE9104_TLE9104_DIAGNOSTICS_H_ 8 #define ZEPHYR_DRIVERS_SENSOR_INFINEON_TLE9104_TLE9104_DIAGNOSTICS_H_ 9 10 #include <stdint.h> 11 #include <zephyr/device.h> 12 #include <zephyr/drivers/mfd/tle9104.h> 13 14 struct tle9104_diagnostics_data { 15 struct gpio_tle9104_channel_diagnostics values[TLE9104_GPIO_COUNT]; 16 }; 17 18 struct tle9104_diagnostics_config { 19 const struct device *parent; 20 uint8_t channel; 21 }; 22 23 #endif /* ZEPHYR_DRIVERS_SENSOR_INFINEON_TLE9104_TLE9104_DIAGNOSTICS_H_ */ 24