9
μ
PD78323, 78324
CONTENTS
1.
LIST OF PIN FUNCTIONS ..................................................................................................................... 11
1.1
PORT PINS ...................................................................................................................................................... 11
1.2
PINS OTHER THAN PORTS .......................................................................................................................... 12
1.3
PIN INPUT/OUTPUT CIRCUITS AND RECOMMENDED CONNECTION OF UNUSED PINS................... 14
2.
CPU ARCHITECTURE............................................................................................................................ 16
2.1
MEMORY SPACE............................................................................................................................................ 16
2.2
PROCESSOR REGISTERS ............................................................................................................................ 19
2.2.1
Control Registers ........................................................................................................................... 20
2.2.2
General Registers........................................................................................................................... 22
2.2.3
Special Function Registers (SFR)................................................................................................ 24
2.3
DATA MEMORY ADDRESSING..................................................................................................................... 29
2.3.1
General Register Addressing ....................................................................................................... 29
2.3.2
Short Direct Addressing................................................................................................................ 29
2.3.3
Special Function Register (SFR) Addressing ............................................................................ 29
3.
BLOCK FUNCTIONS.............................................................................................................................. 30
3.1
BUS CONTROL UNIT (BCU).......................................................................................................................... 30
3.2
EXECUTION UNIT (EXU)................................................................................................................................ 30
3.3
ROM/RAM ........................................................................................................................................................ 30
3.4
INTERRUPT CONTROLLER .......................................................................................................................... 30
3.5
PORT FUNCTIONS ......................................................................................................................................... 31
3.6
CLOCK GENERATOR .................................................................................................................................... 32
3.7
REALTIME PULSE UNIT (RPU)..................................................................................................................... 34
3.7.1
Configuration .................................................................................................................................. 34
3.7.2
Realtime Output Function ............................................................................................................. 36
3.8
A/D CONVERTER ........................................................................................................................................... 37
3.9
SERIAL INTERFACE ...................................................................................................................................... 37
3.10 WATCHDOG TIMER ....................................................................................................................................... 40
4.
INTERRUPT FUNCTIONS...................................................................................................................... 41
4.1
OVERVIEW ...................................................................................................................................................... 41
4.2
MACRO SERVICE ........................................................................................................................................... 42
4.3
CONTEXT SWITCHING FUNCTION .............................................................................................................. 44
4.3.1
Context Switching Function at Interrupt Request..................................................................... 44
4.3.2
Context Switching Function by BRKCS Instruction ................................................................. 45
5.
STANDBY FUNCTIONS ......................................................................................................................... 46
6.
EXTERNAL DEVICE EXPANSION FUNCTION .................................................................................... 47
7.
OPERATION AFTER RESET ................................................................................................................. 48
8.
INSTRUCTION SET ................................................................................................................................ 49
9.
ELECTRICAL SPECIFICATIONS .......................................................................................................... 63