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