Voltage and current regulator chip