A multi-functional electronic card capable of detecting removable cards
includes at least one functional device, a controller, a host interface,
and a removable card interface. The host interface has a card detecting
pin fixed at a level representing that a card is inserted. The removable
card interface has an elastic switch connected to the device detecting pin
of the controller. The controller detects event and status of a card
insertion and removal by a level change of the device detecting pin for
setting the event and status in a status register, and informs the host
device through the host interface so that the host device reads the status
register to determine whether the removable card is inserted or removed.