Method for detecting data transmission rate of USB controller by using USB device
First Claim
Patent Images
1. A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of:
- a. activating an IRQ signal of a timer by using a program;
b. detecting whether said USB controller transmits a K signal within a pre-determined period of time;
if not, setting data transmission in a full-speed mode;
if yes, proceeding with step c;
c. detecting whether said USB controller transmits a J signal within said pre-determined period of time;
if not, setting data transmission in said full-speed mode;
if yes, proceeding with step d;
d. repeating step b and step c twice, and proceeding with step e only if data transmission is not set in said full-speed mode; and
e. setting data transmission in a high-speed mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of: activating an IRQ signal of a timer by using a program; detecting whether said USB controller transmits a signal corresponding to a high-speed USB controller within a pre-determined period of time; if not, setting data transmission in a full-speed mode; if yes, setting data transmission in a high-speed mode.
-
Citations
20 Claims
-
1. A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of:
-
a. activating an IRQ signal of a timer by using a program;
b. detecting whether said USB controller transmits a K signal within a pre-determined period of time;
if not, setting data transmission in a full-speed mode;
if yes, proceeding with step c;
c. detecting whether said USB controller transmits a J signal within said pre-determined period of time;
if not, setting data transmission in said full-speed mode;
if yes, proceeding with step d;
d. repeating step b and step c twice, and proceeding with step e only if data transmission is not set in said full-speed mode; and
e. setting data transmission in a high-speed mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of:
-
activating an IRQ signal of a timer;
detecting whether said USB controller transmits a signal corresponding to a high-speed USB controller within a pre-determined period of time, and if yes, setting data transmission in a high-speed mode;
if not, setting data transmission in a full-speed mode. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, wherein said program storage device comprises a transmission rate identifying flag, said method comprising steps of:
-
setting said transmission rate identifying flag to be zero before transmitting said IRQ signal;
detecting whether said USB controller transmits said signal corresponding to said high-speed USB controller within said pre-determined period of time;
if yes, setting said transmission rate identifying flag in said high-speed mode;
if not, setting said transmission rate identifying flag in said full-speed mode; and
setting data transmission rate according to said transmission rate identifying flag. - View Dependent Claims (19, 20)
-
Specification