USB : USB Classes USB Classes for Microcontrollers |
When you think about actually making two computers (like maybe the big processor inside your PC and a small microcontroller inside a USB peripheral) communicate with each other, the first problem you have to face is:
What are you going to have them say to each other?
There's a big fancy name for the solution to that problem: it's called a protocol. It's sort of like a script: what is each side going to say to the other side, and when?
A USB Class is sort of like a protocol: it's a collection of rules that govern how the Host and the Peripheral device will talk to each other, and what they will say under what circumstances.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |