7540 Group User’s Manual
i
Table of contents
Table of contents
CHAPTER 1 HARDWARE
DESCRIPTION ................................................................................................................................1-2
FEATURES......................................................................................................................................1-2
APPLICATION ................................................................................................................................1-2
PIN CONFIGURATION ..................................................................................................................1-3
FUNCTIONAL BLOCK ..................................................................................................................1-5
PIN DESCRIPTION ........................................................................................................................1-8
GROUP EXPANSION ....................................................................................................................1-9
FUNCTIONAL DESCRIPTION ....................................................................................................1-11
Central Processing Unit (CPU) ............................................................................................1-11
Memory ....................................................................................................................................1-15
I/O Ports ..................................................................................................................................1-17
Interrupts .................................................................................................................................1-21
Key Input Interrupt (Key-On Wake-Up)...............................................................................1-23
Timers ......................................................................................................................................1-24
Serial I/O .................................................................................................................................1-35
A-D Converter .........................................................................................................................1-41
Watchdog Timer .....................................................................................................................1-42
Reset Circuit ...........................................................................................................................1-43
Clock Generating Circuit .......................................................................................................1-45
NOTES ON PROGRAMMING.....................................................................................................1-49
Processor Status Register ....................................................................................................1-49
Interrupts .................................................................................................................................1-49
Decimal Calculations..............................................................................................................1-49
Ports.........................................................................................................................................1-49
A-D Conversion ......................................................................................................................1-49
Instruction Execution Timing.................................................................................................1-49
CPU Mode Register ...............................................................................................................1-49
State Transition ......................................................................................................................1-49
NOTES ON HARDWARE............................................................................................................1-49
Handling of Power Source Pin.............................................................................................1-49
One Time PROM Version .....................................................................................................1-49
NOTES ON PERIPHERAL FUNCTIONS ..................................................................................1-50
I
Interrupt ...............................................................................................................................1-50
I
Timers..................................................................................................................................1-50
I
Timer A ...............................................................................................................................1-50
I
Timer X ...............................................................................................................................1-50
I
Timer Y: Programmable Generation Waveform Mode..................................................1-50
I
Timer Z: Programmable Waveform Generation Mode ..................................................1-50
I
Timer Z: Programmable One-shot Generation Mode ...................................................1-51
I
Timer Z: Programmable Wait One-shot Generation Mode ..........................................1-51
I
Serial I/O.............................................................................................................................1-51
I
A-D Converter ....................................................................................................................1-51
I
Notes on Clock Generating Circuit .................................................................................1-52
DATA REQUIRED FOR MASK ORDERS ................................................................................1-53
DATA REQUIRED FOR ROM PROGRAMMING ORDERS....................................................1-53
ROM PROGRAMMING METHOD ..............................................................................................1-53
FUNCTIONAL DESCRIPTION SUPPLEMENT .........................................................................1-54
Interrupt ...................................................................................................................................1-54
Timing After Interrupt.............................................................................................................1-55
A-D Converter .........................................................................................................................1-56