摘要 |
A processing device includes: a channel adaptor connected to an external device; a first resistor provided parallel to the channel adaptor, and has a variable resistance value; a processor to control the resistance value of the first resistor; a power supply device to provide power; a second resistor provided between the power supply device and the channel adaptor; a switch to control continuity of a current from the power supply device to the channel adaptor and the first resistor; and a controller to monitor a voltage of the second resistor, and turn off the switch when the voltage is larger than a threshold. The processor calculates a resistance value to be set in the first resistor based on a current of the second resistor, the threshold, and a resistance value of the second resistor, and sets the calculated resistance value as the resistance value of the first resistor. |