![](http://datasheet.mmic.net.cn/370000/UPD6604_datasheet_16740710/UPD6604_4.png)
4
μ
PD6604
Data Sheet U11281EJ3V0DS00
CONTENTS
1.
PIN FUNCTIONS.........................................................................................................................
1.1
List of Pin Functions.........................................................................................................................
1.2
Input/Output Circuits of Pins ...........................................................................................................
1.3
Dealing with Unused Pins ................................................................................................................
6
6
7
8
2.
INTERNAL CPU FUNCTIONS ....................................................................................................
2.1
Program Counter (PC) ......................................................................................................................
2.2
Stack Pointer (SP) .............................................................................................................................
2.3
Address Stack Register (ASR (RF)).................................................................................................
2.4
Program Memory (ROM) .................................................................................................................
2.5
Data Memory (RAM) ..........................................................................................................................
2.6
Data Pointer (DP)...............................................................................................................................
2.7
Accumulator (A) ................................................................................................................................
2.8
Arithmetic and Logic Unit (ALU)......................................................................................................
2.9
Flags ...................................................................................................................................................
2.9.1
Status flag (F).......................................................................................................................... 12
2.9.2
Carry flag (CY) ........................................................................................................................ 13
9
9
9
9
10
10
11
11
12
12
3.
PORT REGISTERS (PX)............................................................................................................. 14
3.1
K
I/O
Port (P0).......................................................................................................................................
3.2
K
I
Port/Special Ports (P1) .................................................................................................................
3.2.1
K
I
port (P11: bits 4-7 of P1) ..................................................................................................... 16
3.2.2
S
0
port (bit 2 of P1).................................................................................................................. 16
3.2.3
S
1
/LED (bit 3 of P1)................................................................................................................. 16
3.3
Control Register 0 (P3) .....................................................................................................................
3.4
Control Register 1 (P4) .....................................................................................................................
15
16
17
18
4.
TIMER ......................................................................................................................................... 19
4.1
Timer Configuration ..........................................................................................................................
4.2
Timer Operation.................................................................................................................................
4.3
Carrier Output....................................................................................................................................
4.4
Software Control of Timer Output ...................................................................................................
19
20
21
21
5.
STANDBY FUNCTION................................................................................................................ 22
5.1
Outline of Standby Function ............................................................................................................
5.2
Standby Mode Setup and Release...................................................................................................
5.3
Standby Mode Release Timing ........................................................................................................
22
23
24
6.
RESET PIN.................................................................................................................................. 26
7.
POC CIRCUIT (MASK OPTION) ................................................................................................ 27
7.1
Functions of POC Circuit..................................................................................................................
28
8.
SYSTEM CLOCK OSCILLATOR................................................................................................ 29