1. Technical Field
The present disclosure relates to adapters, particularly, to an ExpressCard and an electronic device.
2. Description of Related Art
Many electronic devices, such as computers, have a number of different peripheral component interconnect (PCI) slots, such as a PCI slot and a PCI-E (PCI Express) slot. ExpressCards based on the PCI are used because of they have quicker speed and smaller size. Usually, ExpressCards include two types, one type of the ExpressCard includes PCI-E port, and another type of ExpressCard includes (universal serial bus) USB port. When an electronic device includes different types of ExpressCards, ExpressCards including the PCI-E port need to be connected to the PCI slot of an electronic device, and the ExpressCards including the USB port need to be connected to the USB port of the electronic device. Thus different data lines for the electronic device need to be installed. Using different types of data lines is not convenient for the user.
An ExpressCard and an electronic device to overcome the described limitations are thus needed.
Many aspects of the present disclosure are better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will be described with reference to the accompanying drawings. The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
The PCI-E port 20 is used to connect to the main body 2. The ExpressCard slot 10 is used to connect to an ExpressCard 200. The ExpressCard 200 can include a USB port or a PCI-E port.
The data conversion unit 30 is connected to the PCI-E port 20, and is used to convert data of USB format to data of PCI-E format, or convert data of PCI-E format to data of USB format.
The switch unit 40 is connected between the PCI-E slot 10, the PCI-E port 20, and the data conversion unit 30, and is used to connect the PCI-E slot 10 with the PCI-E port, or to switch the PCI-E slot 10 to connect with the data conversion unit 30.
The detection unit 50 is connected to the PCI-E slot 10 and the switch control 40, and is used to detect a type of the ExpressCard 200 connected to the PCI-E slot 10. The detection unit 50 also controls the switch unit 40 to establish a connection between the PCI-E slot 10 and the PCI-E port 20 when it is detected that the ExpressCard 200 includes the PCI-E port, namely, that the ExpressCard 200 is the type of ExpressCard 200 with the PCI-E port. Thus, the ExpressCard 200 including the PCI-E port can communicate with the main body 2 via the PCI-E slot 10 and the PCI-E port 20.
The detection unit 50 also controls the switch unit 40 to establish a connection between the PCI-E slot 10 and the data conversion unit 20 when it is detected that the ExpressCard 200 includes the USB port, namely, that the ExpressCard 200 is the type of ExpressCard 200 with the USB port. The data conversion unit 30 executes data conversions between USB format data and PCI-E format data. Thus, the ExpressCard 200 can communicate with the main body 2 via the PCI-E slot 10, the data conversion unit 30, and the
PCI-E port 20.
Referring to
As shown in
In the embodiment, the switch unit 40 is a multi-connection switch K, the multi-connection switch K includes a number of first channel switches 41 and a number of second channel switches 42. The first channel switches 41 are connected between the PCI-E pins 21 of the PCI-E slot 10 and the PCI-E pins 21 of the PCI-E port 20. The second channel switches 41 are connected between the USB pins 22 of the PCI-E slot 10 and the USB pins 31 of the data conversion unit 30.
When the detection unit 50 detects that the type of the ExpressCard 200 connected to the PCI-E slot 10 is the ExpressCard 200 including the PCI-E port, the detection unit 50 turns on all of the first channel switches 41 and turns off all of the second channel switches 41. Thus, a connection between the PCI-E slot 10 and the PCI-E port 20 is established, and a connection between the PCI-E slot 10 and the data conversion unit 30 is cut off.
When the detection unit 50 detects that the type of the ExpressCard 200 connected to the PCI-E slot 10 is the ExpressCard 200 including the USB port, the detection unit 50 turns on all of the second channel switches 41 and turns off all of the first channel switches 41. Thus, any connection between the PCI-E slot 10 and the PCI-E port 20 is cut off, and a connection between the PCI-E slot 10 and the data conversion unit 30 is established.
In another embodiment, the switch unit 40 includes a number of single-pole double-throw (SPDT) switches (not shown), common terminals of the SPDT switches are connected to the pins of the PCI-E slot 10, normally closed terminals of the SPDT switches are connected to the PCI-E pins 21 of the PCI-E port 20, and normally open terminals of the SPDT switches are connected to the USB pins 31 of the data conversion unit 30. The switch unit 40 controls the SPDT switches to connect the common terminals of the SPDT switches to the PCI-E pins 21 of the PCI-E port 20 or may control the SPDT switches to connect the common terminals of the SPDT switches to the PCI-E pins 21 of the PCI-E port 20. A connection between the PCI-E slot 10 and the PCI-E port 20, or between the PCI-E port 10 and the data conversion unit 30 is thus established.
In the embodiment, whether the ExpressCard 200 includes the USB port or the PCI-E port, the ExpressCard 200 can connect to the ExpressCard adapter 1 and then connect to the electronic device 100 directly, thus different data lines are not required.
In the embodiment, the PCI-E port 10 of the ExpressCard adapter 1 also can connect to a device (not shown) via a data line (not shown) with the USB port or PCI-E port.
In the embodiment, the electronic device 100 can be a computer, such as a tablet computer, a portable computer, and a desktop computer, or can be a mobile phone, a digital photo frame, a digital camera, or the like.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
101147294 | Dec 2012 | TW | national |