
μ
PD17225, 17226, 17227, 17228
6
Data Sheet U12643EJ2V0DS00
CONTENTS
1.
PIN FUNCTIONS ...........................................................................................................................
8
1.1
Pin Function List................................................................................................................................
8
1.2
Input/Output Circuits .........................................................................................................................
9
1.3
Processing of Unused Pins ..............................................................................................................
10
2.
MEMORY SPACE .........................................................................................................................
2.1
Program Counter (PC) .......................................................................................................................
11
11
2.2
Program Memory (ROM) ...................................................................................................................
11
2.3
Stack ...................................................................................................................................................
13
2.4
Data Memory (RAM)...........................................................................................................................
15
2.5
Register File (RF) ...............................................................................................................................
22
3.
PORTS...........................................................................................................................................
25
3.1
Port 0A (P0A
0
-P0A
3
)...........................................................................................................................
25
3.2
Port 0B (P0B
0
-P0B
3
)...........................................................................................................................
25
3.3
Port 0C (P0C
0
-P0C
3
)...........................................................................................................................
25
3.4
Port 0D (P0D
0
-P0D
3
)...........................................................................................................................
25
3.5
Port 0E (P0E
0
-P0E
3
) ...........................................................................................................................
25
3.6
INT Pin.................................................................................................................................................
26
3.7
Switching Bit I/O ................................................................................................................................
27
3.8
Specifying Pull-up Resistor Connection .........................................................................................
28
4.
CLOCK GENERATOR CIRCUIT ..................................................................................................
4.1
Instruction Execution Time (CPU Clock) Selection........................................................................
29
29
5.
8-BIT TIMER AND REMOTE CONTROLLER CARRIER GENERATOR CIRCUIT .....................
5.1
Configuration of 8-bit Timer (with modulo function) .....................................................................
30
30
5.2
Function of 8-bit Timer (with modulo function)..............................................................................
32
5.3
Carrier Generator Circuit for Remote Controller ............................................................................
33
6.
BASIC INTERVAL TIMER/WATCHDOG TIMER..........................................................................
6.1
Source Clock for Basic Interval Timer.............................................................................................
37
37
6.2
Controlling Basic Interval Timer ......................................................................................................
37
6.3
Operation Timing for Watchdog Timer ............................................................................................
39
7.
INTERRUPT FUNCTIONS ............................................................................................................
40
7.1
Interrupt Sources ...............................................................................................................................
40
7.2
Hardware of Interrupt Control Circuit ..............................................................................................
41
7.3
Interrupt Sequence ............................................................................................................................
44