- viii -
Contents
LIST OF FIGURES
Fig. No. Title, Page
2-1 I/O Circuits Provided for Pins.......................................................................................................34
3-1 Memory Map of
µ
PD78212 (EA Pin Driven High) .....................................................................38
3-2 Memory Map of
µ
PD78212 (EA Pin Driven Low) ......................................................................39
3-3 Memory Map of
µ
PD78213,
µ
PD78214, or
µ
PD78P214 (EA Pin Driven Low)........................ 40
3-4 Memory Map of
µ
PD78214,
µ
PD78P214 (EA Pin Driven High)................................................41
3-5 Sample Data Transfer between Banks .......................................................................................44
3-6 Configuration of the Program Counter ......................................................................................45
3-7 Configuration of the Program Status Word...............................................................................45
3-8 Configuration of the Stack Pointer..............................................................................................46
3-9 Data Saved to the Stack Area...................................................................................................... 47
3-10 Data Restored from the Stack Area ............................................................................................47
3-11 Configuration of General-Purpose Registers.............................................................................48
4-1 Block Diagram of Clock Generator..............................................................................................55
4-2 External Circuit for the Clock Oscillator..................................................................................... 55
4-3 Point from Which Signals Can Be Drawn When an External Clock Is Input......................... 56
4-4 Notes on Connection of the Oscillator....................................................................................... 57
4-5 Incorrect Oscillator Connections................................................................................................. 57
5-1 Port Configuration.........................................................................................................................5 9
5-2 Configuration of Port 0................................................................................................................. 61
5-3 Port 0 Mode Register Format.......................................................................................................61
5-4 Port Specified as an Output Port.................................................................................................62
5-5 Example of Driving a Transistor..................................................................................................62
5-6 Block Diagram of Port 2................................................................................................................64
5-7 Port Specified as an Input Port....................................................................................................65
5-8 Built-In Pull-Up Resistor Format..................................................................................................65
5-9 Connection of Pull-Up Resistors (Port 2) ...................................................................................66
5-10 Block Diagram of P30 (Port 3)......................................................................................................68
5-11 Block Diagram of P31, and P34 through P37 (Port 3)...............................................................69
5-12 Block Diagram of P32 (Port 3)......................................................................................................70
5-13 Block Diagram of P33 (Port 3)......................................................................................................71
5-14 Port 3 Mode Register Format.......................................................................................................72
5-15 Port 3 Mode Control Register (PMC3) Format...........................................................................72
5-16 Port Specified as an Output Port.................................................................................................73
5-17 Port Specified as an Input Port....................................................................................................73
5-18 Port Specified as a Control Signal Input or Output..................................................................74
5-19 Pull-Up-Resistor-Option Register Format...................................................................................74
5-20 Connection of Pull-Up Resistors (Port 3) ...................................................................................75
5-21 Block Diagram of Port 4................................................................................................................76
5-22 Port Specified as an Output Port.................................................................................................77
5-23 Port Specified as an Input Port....................................................................................................77
5-24 Pull-Up-Resistor-Option Register Format...................................................................................78