AT90USB64/128
7
Power Management and Sleep Modes ................................................. 52
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
Idle Mode ...........................................................................................................53
ADC Noise Reduction Mode ..............................................................................53
Power-down Mode .............................................................................................53
Power-save Mode ..............................................................................................53
Standby Mode ....................................................................................................54
Extended Standby Mode ....................................................................................54
Power Reduction Register .................................................................................55
Minimizing Power Consumption .........................................................................56
8
9
System Control and Reset .................................................................... 58
8.1
8.2
Internal Voltage Reference ................................................................................63
Watchdog Timer .................................................................................................63
Interrupts ................................................................................................ 69
9.1
Interrupt Vectors in AT90USB64/128 .................................................................69
10 I/O-Ports .................................................................................................. 73
10.1 Introduction ........................................................................................................73
10.2 Ports as General Digital I/O ...............................................................................74
10.3 Alternate Port Functions ....................................................................................78
10.4 Register Description for I/O-Ports ......................................................................91
11 External Interrupts ................................................................................. 95
12 Timer/Counter0, Timer/Counter1, and Timer/Counter3 Prescalers ... 99
12.1 Internal Clock Source .........................................................................................99
12.2 Prescaler Reset .................................................................................................99
12.3 External Clock Source .......................................................................................99
12.4 General Timer/Counter Control Register – GTCCR ........................................100
13 8-bit Timer/Counter0 with PWM .......................................................... 101
13.1 Overview ..........................................................................................................101
13.2 Timer/Counter Clock Sources ..........................................................................102
13.3 Counter Unit .....................................................................................................102
13.4 Output Compare Unit .......................................................................................103
13.5 Compare Match Output Unit ............................................................................105
13.6 Modes of Operation .........................................................................................106
13.7 Timer/Counter Timing Diagrams ......................................................................110
13.8 8-bit Timer/Counter Register Description .........................................................111
2
7593A–AVR–02/06