It was a "DC" current measurement instrument built around some jfets / cmos opamps: I-V converter + voltage amplifiers. Not meant to be fast but it can be made to be reasonably fast depending on the opamps used and gain settings.
Ok, that partly (gave me the idea) helped me improve my circuit. It now references the current sensing, so that ground based ADCs will work ok.
Very, very ROUGH sketch to give a slight idea, one way of doing it. Needs to be properly designed and tested. Both current sense outputs, are relative to ground (0V), for convenience.
I could be over thinking this circuit.
Maybe you are just better off, with a simple (lowish resistance, shunt) sensor, and amplifying it with op-amps. But it may be too noisy.
EDIT: Schematic updated.
Is the 12V an example or required? Can it vary?
Any recommended parts for the op-amp?
I think if you go for a rail to rail input (common mode) one, it can cope with just a single supply.
LMC6482IN, but there are plenty of others.
Its a bit pricey (£1.18), cheaper ones will probably do just fine (as long as they are rail to rail inputs, and suitable max voltage ranges). (The search *jammed* up on me, I will try it again).
The 100 ohm resistor I showed, should probably be more like 270 ohms, to play safe.
The 12V was only an example. It is NOT critical.
But stay well below the maximum supply voltage of the op-amp, and it will need to be at least a few volts or so, above the MCU supply voltage, to ensure it can drive the transistor, and work ok.
EDIT:UPDATE:
I could not find cheaper op-amps. I was being a bit foolish.
It's (almost certain) because I went for only through hole, dip packaged ones for you. As I assumed that was what you would want. That's what has probably made the price surprisingly high.
Surface mount ones, would probably be really cheap.
Some components can still be bought, very cheaply, in dip/through hole packages.
But others are either very expensive (especially newly released stuff), or too frequently these days, not available in DIP packages at all.
There are many exceptions, for some things. I was using rules of thumb, to explain the situation.
There are still cheap DIP op-amps, but they did not seem to be obviously suitable in our circuit, on quick examination.