NEC mPD784225 Series User Manual page 13

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

4.4.1 Main system clock oscillator ......................................................................................................... 100
4.4.2 Subsystem clock oscillator ............................................................................................................ 101
4.4.3 Frequency divider ......................................................................................................................... 104
4.4.4 When no subsystem clocks are used ........................................................................................... 104
4.5
Clock Generator Operations ................................................................................................ 105
4.5.1 Main system clock operations ....................................................................................................... 106
4.5.2 Subsystem clock operations ......................................................................................................... 107
4.6
Changing System Clock and CPU Clock Settings ............................................................. 107
CHAPTER 5 PORT FUNCTIONS ....................................................................................................... 109
5.1
Digital I/O Ports ..................................................................................................................... 109
5.2
Port Configuration ................................................................................................................ 111
5.2.1 Port 0 ........................................................................................................................................... 111
5.2.2 Port 1 ........................................................................................................................................... 113
5.2.3 Port 2 ........................................................................................................................................... 114
5.2.4 Port 3 ........................................................................................................................................... 118
5.2.5 Port 4 ........................................................................................................................................... 120
5.2.6 Port 5 ........................................................................................................................................... 122
5.2.7 Port 6 ........................................................................................................................................... 124
5.2.8 Port 7 ........................................................................................................................................... 128
5.2.9 Port 12 ......................................................................................................................................... 131
5.2.10 Port 13 ......................................................................................................................................... 132
5.3
Control Registers .................................................................................................................. 133
5.4
Operations ............................................................................................................................. 138
5.4.1 Writing to I/O port ........................................................................................................................ 138
5.4.2 Reading from I/O port .................................................................................................................. 138
5.4.3 Operations on I/O port ................................................................................................................. 138
CHAPTER 6 REAL-TIME OUTPUT FUNCTIONS ................................................................................ 139
6.1
Functions ............................................................................................................................... 139
6.2
Configuration ........................................................................................................................ 139
6.3
Control Registers .................................................................................................................. 142
6.4
Operation ............................................................................................................................... 144
6.5
Using This Function ............................................................................................................. 145
6.6
Cautions ................................................................................................................................ 145
CHAPTER 7 TIMER OVERVIEW ........................................................................................................ 146
CHAPTER 8 16-BIT TIMER/EVENT COUNTER ................................................................................ 149
8.1
Function ................................................................................................................................. 149
8.2
Configuration ........................................................................................................................ 150
8.3
Control Registers .................................................................................................................. 154
8.4
Operation ............................................................................................................................... 160
8.4.1 Operation as interval timer (16 bits) ............................................................................................ 160
8.4.2 PPG output operation .................................................................................................................. 162
8.4.3 Pulse width measurement ........................................................................................................... 163
8.4.4 Operation as external event counter ........................................................................................... 170
User's Manual U12697EJ3V0UM
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents