摘要 |
Data is transferred from a terminal to a computer over a USB cable. This is accomplished when the terminal transmits a control signal to the computer through a control line of a USB cable based on a value stored in a terminal register unit. The computer receives the control signal, sets a value of the computer register unit, and generates an interrupt according to the value in the computer register unit. The computer executes a USB reception thread that receives data from the terminal. By controlling an operation of the USB reception thread of the computer through the control line and each register unit, a load applied to a kernel of the computer can be reduced.
|