Bipolar high voltage capable front end for microcontroller.
ACPL-C790 can take differential input of +-200mV and output differential signal (around 1.25V and 2.5V or so...).
For better conversion the Bluepill ADC should really have analog reference voltage of 2.5V, ADC reference voltage is tied to +3.3V on that board.