3.7.6
3.7.7
Configuration) ................................................................................................................................ 86
3.7.8
3.7.9
Pin States in Standby Modes ......................................................................................................... 91
3.8
Memory Access Modes ....................................................................................................................... 95
I/O PORTS .................................................................................................. 97
4.1
Overview of I/O Ports .......................................................................................................................... 98
4.2
Port 0 ................................................................................................................................................ 100
4.2.1
4.2.2
Operation of Port 0 ...................................................................................................................... 105
4.3
Port 1 ................................................................................................................................................ 107
4.3.1
4.3.2
Operation of Port 1 ...................................................................................................................... 111
4.4
Port 2 ................................................................................................................................................ 113
4.4.1
Port 2 Register (PDR2) ................................................................................................................ 115
4.4.2
Operation of Port 2 ...................................................................................................................... 116
4.5
Port 3 ................................................................................................................................................ 117
4.5.1
4.5.2
Operation of Port 3 ...................................................................................................................... 122
4.6
Port 4 ................................................................................................................................................ 124
4.6.1
Port 4 Register (PDR4) ................................................................................................................ 126
4.6.2
Operation of Port 4 ...................................................................................................................... 127
4.7
TIMEBASE TIMER .................................................................................... 131
5.1
Overview of Timebase Timer ............................................................................................................ 132
5.2
Structure of Timebase Timer ............................................................................................................ 134
5.3
5.4
Timebase Timer Interrupt .................................................................................................................. 138
5.5
Operation of Timebase Timer ........................................................................................................... 139
5.6
5.7
WATCHDOG TIMER ................................................................................. 145
6.1
Overview of Watchdog Timer ............................................................................................................ 146
6.2
Structure of Watchdog Timer ............................................................................................................ 147
6.3
6.4
Operation of Watchdog Timer ........................................................................................................... 151
6.5
6.6
7.1
7.2
7.3
8/16-bit Timer/Counter Pins .............................................................................................................. 163
x