Patent ID: 8909821

Claim:
An electronic device comprising: a function extension device that includes a first slim line connector based on Serial Advanced Technology Attachment; and a terminal device configured to be connected to the function extension device, the terminal device including, a detection circuit configured to output a first detection signal and a second detection signal, the first and second detection signals indicating whether connection to the function extension device is established and a type of the function extension device, a control circuit configured to detect whether connection to the function extension device is established and to determine the type of the function extension device on the basis of the first detection signal and the second detection signal, and a second slim line connector based on Serial Advanced Technology Attachment, wherein the first detection signal is a signal that passes through a pin P1 of the second slim line connector, the pin P1 being defined by Serial Advanced Technology Attachment, the second detection signal is a signal that passes through a pin S4 of the second slim line connector, the pin S4 being defined by Serial Advanced Technology Attachment, and the function extension device connects a pin P1 with a pin S4 of the first slim line connector, the pins P1 and S4 being defined by Serial Advanced Technology Attachment.