6.1.2
Reset Control ............................................................................................................................ 54
6.1.3
Power Control ........................................................................................................................... 57
6.1.4
Clock Control ............................................................................................................................ 57
6.1.5
System Control ......................................................................................................................... 60
6.2
Initialization and Configuration ................................................................................................... 60
6.3
Register Map ............................................................................................................................ 61
6.4
Register Descriptions ................................................................................................................ 62
7
Internal Memory ............................................................................................................... 113
7.1
Block Diagram ........................................................................................................................ 113
7.2
Functional Description ............................................................................................................. 113
7.2.1
SRAM Memory ........................................................................................................................ 113
7.2.2
Flash Memory ......................................................................................................................... 114
7.3
Flash Memory Initialization and Configuration ........................................................................... 116
7.3.1
Changing Flash Protection Bits ................................................................................................ 116
7.3.2
Flash Programming ................................................................................................................. 117
7.4
Register Map .......................................................................................................................... 117
7.5
Flash Register Descriptions (Flash Control Offset) ..................................................................... 118
7.6
Flash Register Descriptions (System Control Offset) .................................................................. 125
8
General-Purpose Input/Outputs (GPIOs) ....................................................................... 129
8.1
Block Diagram ........................................................................................................................ 130
8.2
Functional Description ............................................................................................................. 130
8.2.1
Data Control ........................................................................................................................... 131
8.2.2
Interrupt Control ...................................................................................................................... 132
8.2.3
Mode Control .......................................................................................................................... 133
8.2.4
Pad Control ............................................................................................................................. 133
8.2.5
Identification ........................................................................................................................... 133
8.3
Initialization and Configuration ................................................................................................. 133
8.4
Register Map .......................................................................................................................... 134
8.5
Register Descriptions .............................................................................................................. 136
9
General-Purpose Timers ................................................................................................. 168
9.1
Block Diagram ........................................................................................................................ 169
9.2
Functional Description ............................................................................................................. 169
9.2.1
GPTM Reset Conditions .......................................................................................................... 169
9.2.2
32-Bit Timer Operating Modes .................................................................................................. 169
9.2.3
16-Bit Timer Operating Modes .................................................................................................. 171
9.3
Initialization and Configuration ................................................................................................. 175
9.3.1
32-Bit One-Shot/Periodic Timer Mode ....................................................................................... 175
9.3.2
32-Bit Real-Time Clock (RTC) Mode ......................................................................................... 176
9.3.3
16-Bit One-Shot/Periodic Timer Mode ....................................................................................... 176
9.3.4
16-Bit Input Edge Count Mode ................................................................................................. 177
9.3.5
16-Bit Input Edge Timing Mode ................................................................................................ 177
9.3.6
16-Bit PWM Mode ................................................................................................................... 178
9.4
Register Map .......................................................................................................................... 178
9.5
Register Descriptions .............................................................................................................. 179
10
Watchdog Timer ............................................................................................................... 204
10.1
Block Diagram ........................................................................................................................ 204
10.2
Functional Description ............................................................................................................. 204
October 01, 2007
4
Preliminary
Table of Contents