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