1. A device comprising: an amplifier configured to receive a control signal for enabling and disabling the device and provide a voltage based on an amplifier current flowing through the amplifier; a feedback circuit coupled to the amplifier and a sense node, the feedback circuit being configured to receive the voltage and generate a feedback current based on the voltage; and an output stage for providing an output based on a sense current at the sense node and a reference current, the output stage comprising: a first circuit coupled to the amplifier, the first circuit being configured to generate a first current corresponding to the amplifier current; a second circuit coupled to the feedback circuit and the first circuit, the second circuit being configured to generate a second current corresponding to the feedback current; and a reference circuit coupled between the first circuit and the second circuit, the reference circuit being configured to receive a reference control signal for enabling and disabling the reference circuit and generate the reference current when the reference circuit is enabled.