project
Adom Custom Electronic Load
Public Made by Adomby adom
Independent compact digitally controlled load design for 3rdPartyFab; research and AIFlow evidence in progress
main
John Lauer
R0 engineering checkpoint: checked schematic, sourcing, servo evidence and safety-policy code; PCB and qualification incomplete
10054d3
1h ago
#ifndef ADOM_LOAD_INSTRUMENTS_H
#define ADOM_LOAD_INSTRUMENTS_H
#include <stdbool.h>
#include <stdint.h>
typedef struct {
bool (*write16)(uint8_t addr7,uint8_t reg,uint16_t value);
bool (*read16)(uint8_t addr7,uint8_t reg,uint16_t *value);
void (*delay_ms)(uint32_t ms);
} load_i2c;
bool load_instruments_init(const load_i2c *);
bool load_dac_write(const load_i2c *,uint16_t code);
bool load_ina_read(const load_i2c *,float *load_terminal_v,float *amps);
#endif