AT90USB82/162
8.1 Idle Mode ...............................................................................................................42
8.2 Power-down Mode .................................................................................................42
8.3 Power-save Mode ..................................................................................................42
8.4 Standby Mode .......................................................................................................42
8.5 Extended Standby Mode .......................................................................................42
8.6 Power Reduction Register .....................................................................................43
8.7 Minimizing Power Consumption ............................................................................44
9
System Control and Reset .................................................................... 46
9.1 Resetting the AVR .................................................................................................46
9.2 Reset Sources .......................................................................................................46
9.3 Power-on Reset .....................................................................................................47
9.4 External Reset .......................................................................................................48
9.5 Brown-out Detection ..............................................................................................49
9.6 Watchdog Reset ....................................................................................................50
9.7 USB Reset .............................................................................................................50
9.8 Internal Voltage Reference ....................................................................................52
9.9 Watchdog Timer ....................................................................................................52
10 Interrupts ................................................................................................ 63
10.1 Interrupt Vectors in AT90USB82/162 ..................................................................63
11 I/O-Ports .................................................................................................. 67
11.1 Introduction ..........................................................................................................67
11.2 Ports as General Digital I/O .................................................................................68
11.3 Alternate Port Functions ......................................................................................72
11.4 Register Description for I/O-Ports ........................................................................82
12 External Interrupts ................................................................................. 84
13 Timer/Counter0 and Timer/Counter1 Prescalers ................................ 88
14 8-bit Timer/Counter0 with PWM ............................................................ 90
14.1 Overview ..............................................................................................................90
14.2 Timer/Counter Clock Sources .............................................................................91
14.3 Counter Unit ........................................................................................................91
14.4 Output Compare Unit ...........................................................................................92
14.5 Compare Match Output Unit ................................................................................94
14.6 Modes of Operation .............................................................................................95
14.7 Timer/Counter Timing Diagrams .........................................................................99
2
7707D–AVR–07/08