I'm looking to measure current consumption of my microcontroller as an in-built feature of the final design. Should I buy and use high-side current monitors that are available on the market (e.g. Zetex ZXCT1009Zetex ZXCT1009)? Or is it possible to build one out of discrete parts that's cheaper and better?
Device operating out of a lithium polymer battery, so 3.7V typical only. Drawing around 0 to 30mA.