Managing power, ground and noise in microcontroller/analog apps