
7
Data Sheet U15002EJ1V0DS
μ
PD17240, 17241, 17242, 17243, 17244, 17245, 17246
CONTENTS
1.
PIN FUNCTIONS ..........................................................................................................................
1.1
Pin Function List...............................................................................................................
1.2
I/O Circuits .........................................................................................................................
1.3
Handling of Unused Pins .................................................................................................
9
9
12
14
2.
MEMORY SPACE .........................................................................................................................
2.1
Program Counter (PC)......................................................................................................
2.2
Program Memory (ROM) ..................................................................................................
2.3
Stack ...................................................................................................................................
2.4
Data Memory (RAM)..........................................................................................................
2.5
Register File (RF) ..............................................................................................................
15
15
18
20
22
31
3.
PORTS ..........................................................................................................................................
3.1
Port 0A (P0A
0
to P0A
3
) .....................................................................................................
3.2
Port 0B (P0B
0
to P0B
3
) .....................................................................................................
3.3
Port 0C (P0C
0
to P0C
3
) .....................................................................................................
3.4
Port 0D (P0D
0
to P0D
3
) .....................................................................................................
3.5
Port 0E (P0E
0
to P0E
3
)......................................................................................................
3.6
Port 1A (P1A
0
to P1A
2
) .....................................................................................................
3.7
Port 1B (P1B
0
)....................................................................................................................
3.8
INT Pin ................................................................................................................................
3.9
Switching Bit I/O (Port 0B, 0E, 1A) .................................................................................
3.10 Selecting I/O Mode of Group I/O (Port 0C, 0D) .............................................................
3.11 Selecting Whether Key Matrix Is Used or Not (Port 0E, 1A) .......................................
3.12 Specifying Resistor Connection (Port 0E, 1A) .............................................................
3.13 Selecting Standby Mode Release Condition and Whether Pull-Up or Pull-Down
Resistor Is Connected (Port 1A).....................................................................................
3.14 Selecting Whether Key Matrix Is Used, Standby Mode Release Condition, and
Whether Pull-Up or Pull-Down Resistor Is Connected (Port 1B) ...............................
34
34
34
34
34
35
35
36
37
38
40
41
42
44
46
4.
CLOCK GENERATOR .................................................................................................................
4.1
Instruction Execution Time (CPU Clock) Selection......................................................
47
47
5.
8-BIT TIMER AND REMOTE CONTROLLER CARRIER GENERATOR...................................
5.1
Configuration of 8-Bit Timer (with Modulo Function)..................................................
5.2
Function of 8-Bit Timer (with Modulo Function) ..........................................................
5.3
Carrier Generator for Remote Controller.......................................................................
48
48
50
51
6.
BASIC INTERVAL TIMER/WATCHDOG TIMER .........................................................................
6.1
Source Clock for Basic Interval Timer ...........................................................................
6.2
Controlling Basic Interval Timer .....................................................................................
6.3
Operation Timing for Watchdog Timer ...........................................................................
57
57
57
59
7.
RAM RETENTION DETECTOR...................................................................................................
7.1
RAM Retention Flag..........................................................................................................
60
60