ZXCT1009 as a current monitor
The datasheet itself provides the schematic for implementing the ZXCT1009 as a current monitor:




Select Rsense such that the expected maximum possible current generates just under 1.1 Volts across Rsense (Rsense = 1.1 / Imax) - going by the limits in the first graph on Page 3, not by the 2.5 Volt specified in the table on Page 2.
Select a suitable value of Rout, to give a Vout range suitable to one of the available ADC channels of the microcontroller, for a full-scale Iout of around 10 mA (Rout = 5 / 0.01 assuming a full-scale of 5 Volts)


As the current flowing through Rsense changes, so will Vout. Read this into the ADC, process as required.