1 /* 2 * Copyright (c) 2023 North River Systems Ltd 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Emulator for the TI INA230 I2C power monitor 7 */ 8 #ifndef INA230_EMUL_H_ 9 #define INA230_EMUL_H_ 10 11 #define INA230_REGISTER_COUNT 8 12 #define INA236_REGISTER_COUNT 2 13 14 int ina230_mock_set_register(void *data_ptr, int reg, uint32_t value); 15 int ina230_mock_get_register(void *data_ptr, int reg, uint32_t *value_ptr); 16 17 #endif /* INA230_EMUL_H_ */ 18