One aspect of the present invention is a clock switching circuit for
switching between asynchronous first clock and second clock when
connecting or disconnecting an interface cable having a hot-plug
function. The clock switching circuit includes a first group of
flip-flops for receiving an interface disconnection signal that
corresponds to disconnection and connection of the interface cable in
response to the first clock, and a second group of flip-flops for
receiving the interface disconnection signal in response to the second
clock.