![](http://datasheet.mmic.net.cn/370000/UPD780016Y_datasheet_16740792/UPD780016Y_5.png)
μ
PD780016Y, 780018Y
5
CONTENTS
1.
PIN CONFIGURATION (TOP VIEW)................................................................................................... 6
2.
BLOCK DIAGRAM .............................................................................................................................. 8
3.
PIN FUNCTIONS ................................................................................................................................. 9
3.1
Port Pins ...................................................................................................................................................... 9
3.2
Non-port Pins............................................................................................................................................ 11
3.3
Pin I/O Circuits and Recommended Connection of Unused Pins..................................................... 13
4.
MEMORY SPACE .............................................................................................................................. 16
5.
PERIPHERAL HARDWARE FUNCTIONS ....................................................................................... 17
5.1
Ports ........................................................................................................................................................... 17
5.2
Clock Generator........................................................................................................................................ 18
5.3
Timer/Event Counter ................................................................................................................................ 18
5.4
Clock Output Control Circuit .................................................................................................................. 22
5.5
Buzzer Output Control Circuit ................................................................................................................ 22
5.6
A/D Converter ........................................................................................................................................... 23
5.7
Serial Interfaces........................................................................................................................................ 24
6.
INTERRUPT FUNCTIONS AND TEST FUNCTIONS .......................................................................26
6.1
Interrupt Functions .................................................................................................................................. 26
6.2
Test Functions .......................................................................................................................................... 29
7.
EXTERNAL DEVICE EXPANSION FUNCTIONS.............................................................................30
8.
STANDBY FUNCTION ...................................................................................................................... 30
9.
RESET FUNCTION............................................................................................................................ 31
10. INSTRUCTION SET........................................................................................................................... 32
11. PACKAGE DRAWINGS ..................................................................................................................... 34
APPENDIX A. DEVELOPMENT TOOLS................................................................................................ 35
APPENDIX B. RELATED DOCUMENTS ............................................................................................... 37