AT90USB82/162
AVR SPI 181
19 USB controller ...................................................................................... 183
19.1 Features ............................................................................................................183
19.2 Block Diagram ...................................................................................................183
19.3 Typical Application Implementation ...................................................................184
19.4 General Operating Modes .................................................................................187
19.5 Power modes .....................................................................................................190
19.6 Memory management ........................................................................................190
19.7 PAD suspend .....................................................................................................191
19.8 D+/D- Read/write ...............................................................................................192
19.9 Registers description .........................................................................................193
19.10 USB Software Operating modes .....................................................................194
20 USB Device Operating modes ............................................................ 196
20.1 Introduction ........................................................................................................196
20.2 Power-on and reset ...........................................................................................196
20.3 Endpoint reset ...................................................................................................196
20.4 USB reset ..........................................................................................................197
20.5 Endpoint selection .............................................................................................197
20.6 Endpoint activation ............................................................................................197
20.7 Address Setup ...................................................................................................198
20.8 Suspend, Wake-up and Resume .......................................................................199
20.9 Detach ...............................................................................................................199
20.10 Remote Wake-up .............................................................................................200
20.11 STALL request .................................................................................................200
20.12 CONTROL endpoint management ..................................................................201
20.13 OUT endpoint management ............................................................................202
20.14 IN endpoint management ................................................................................204
20.15 Isochronous mode ...........................................................................................206
20.16 Overflow ..........................................................................................................206
20.17 Interrupts .........................................................................................................207
20.18 Registers .........................................................................................................208
21 PS/2 ....................................................................................................... 220
21.1 Characteristics ...................................................................................................220
22 Analog Comparator .............................................................................. 223
4
7707D–AVR–07/08