diff options
Diffstat (limited to 'zephyr/include/emul/emul_pct2075.h')
-rw-r--r-- | zephyr/include/emul/emul_pct2075.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/zephyr/include/emul/emul_pct2075.h b/zephyr/include/emul/emul_pct2075.h deleted file mode 100644 index f9e1ef60b2..0000000000 --- a/zephyr/include/emul/emul_pct2075.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright 2022 The ChromiumOS Authors - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef EMUL_PCT2075_H -#define EMUL_PCT2075_H - -#include "emul/emul_common_i2c.h" - -#include <zephyr/drivers/emul.h> - -#define PCT2075_REG_NUMBER 5 - -struct pct2075_data { - struct i2c_common_emul_data common; - uint16_t regs[PCT2075_REG_NUMBER]; -}; - -/** - * @brief Set the temperature measurement for the sensor. - * - * @param emul Pointer to emulator - * @param mk Temperature to set in mili-kalvin. The temperature - * should me in range of 328150 to 400150, with 150 resolution. - * - * @return 0 on success - * @return negative on error - */ -int pct2075_emul_set_temp(const struct emul *emul, int mk); - -#endif |