4
PD67, 67A, 68, 68A, 69
Data Sheet U14935EJ2V1DS
CONTENTS
1.
PIN FUNCTIONS ............................................................................................................................
6
1.1
List of Pin Functions ............................................................................................................
6
1.2
Pin I/O Circuits ......................................................................................................................
7
1.3
Connection of Unused Pins .................................................................................................
8
2.
INTERNAL CPU FUNCTIONS .....................................................................................................
9
2.1
Program Counter (PC) ..........................................................................................................
9
2.2
Stack Pointer (SP) .................................................................................................................
9
2.3
Address Stack Register (ASR (RF)) ....................................................................................
9
2.4
Program Memory (ROM) ....................................................................................................... 10
2.5
Data Memory (RAM) .............................................................................................................. 11
2.6
Data Pointer (DP) .................................................................................................................. 12
2.7
Accumulator (A) ....................................................................................................................
12
2.8
Arithmetic and Logic Unit (ALU) .........................................................................................
12
2.9
Flags ....................................................................................................................................... 13
2.9.1
Status flag (F) ..............................................................................................................................
13
2.9.2
Carry flag (CY) ............................................................................................................................
13
3.
PORT REGISTERS (PX) .............................................................................................................. 14
3.1
KI/O Port (P0) .......................................................................................................................... 15
3.2
KI Port/Special Ports (P1) .....................................................................................................
15
3.2.1
KI port (P11: bits 4 to 7 of P1) .....................................................................................................
15
3.2.2
S0 port (bit 2 of P1) .....................................................................................................................
16
3.2.3
S1/LED (bit 3 of P1) .....................................................................................................................
16
3.2.4
S2 port (bit 1 of P1) .....................................................................................................................
16
3.3
Control Register 0 (P3) .........................................................................................................
17
3.3.1
RAM retention flag (bit 3 of P3) ..................................................................................................
18
3.4
Control Register 1 (P4) .........................................................................................................
19
4.
TIMER .............................................................................................................................................. 20
4.1
Timer Configuration .............................................................................................................. 20
4.2
Timer Operation ....................................................................................................................
21
4.3
Carrier Output ........................................................................................................................
23
4.3.1
Carrier output generator ..............................................................................................................
23
4.3.2
Carrier output control ..................................................................................................................
24
4.4
Software Control of Timer Output ....................................................................................... 26
5.
STANDBY FUNCTION ................................................................................................................... 27
5.1
Outline of Standby Function ...............................................................................................
27
5.2
Standby Mode Setting and Release ...................................................................................
28
5.3
Standby Mode Release Timing ............................................................................................
30
6.
RESET ............................................................................................................................................. 31