摘要 |
PROBLEM TO BE SOLVED: To provide a device that uses a time division multiplex method serial port device without causing a communication collision.SOLUTION: A device includes a first serial port, a second serial port, a switching circuit and a signal interface, and the switching circuit is configured to select data so as to receive data to be transmitted by one serial port. The first serial port is configured to transmit first data to a first serial port device by the switching circuit and the signal interface. The second serial port is configured to command the switching circuit so as to receive third data to be transmitted by the second serial port when data to be transmitted by the second serial port device indicates that it is necessary for the second serial port device to receive the third data to be transmitted by the second serial port; and transmit the third data to the second serial port device by the switching circuit and the signal interface. |