Epson S1C17704 Technical Manual page 6

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

CONTENTS
5 Initial Reset ...................................................................................................................5-1
5.1 Initial Reset Sources ........................................................................................................5-1
5.1.1 #RESET Pin .......................................................................................................5-1
5.1.2 P0 Port Key-Entry Reset ...................................................................................5-2
5.1.3 Resetting by the Watchdog Timer ......................................................................5-2
5.2 Initial Reset Sequence .....................................................................................................5-3
5.3 Initial Settings After an Initial Reset .................................................................................5-4
6 Interrupt Controller (ITC) .............................................................................................6-1
6.1 Configuration of ITC .........................................................................................................6-1
6.2 Vector Table .....................................................................................................................6-2
6.3 Control of Maskable Interrupts .........................................................................................6-3
6.3.1 Enabling ITC ......................................................................................................6-3
6.3.3 Enabling/Disabling Interrupts .............................................................................6-4
6.3.4 Processing when Multiple Interrupts Occur .......................................................6-5
6.3.5 Interrupt Trigger Mode .......................................................................................6-6
6.3.6 Interrupt Processing by the S1C17 Core ...........................................................6-8
6.4 NMI ...................................................................................................................................6-9
6.5 Software Interrupts ..........................................................................................................6-10
6.6 Clearing HALT and SLEEP Modes by Interrupt Causes .................................................6-11
6.7 Details of Control Registers ............................................................................................6-12
0x4300: Interrupt Flag Register (ITC_IFLG) ............................................................................. 6-13
0x4302: Interrupt Enable Register (ITC_EN) ........................................................................... 6-15
0x4304: ITC Control Register (ITC_CTL) ................................................................................. 6-16
0x4306: External Interrupt Level Setup Register 0 (ITC_ELV0) ............................................... 6-17
0x4308: External Interrupt Level Setup Register 1 (ITC_ELV1) ............................................... 6-18
0x430a: External Interrupt Level Setup Register 2 (ITC_ELV2) ............................................... 6-19
0x430c: External Interrupt Level Setup Register 3 (ITC_ELV3) ............................................... 6-20
0x430e: Internal Interrupt Level Setup Register 0 (ITC_ILV0) .................................................. 6-21
0x4310: Internal Interrupt Level Setup Register 1 (ITC_ILV1) .................................................. 6-22
0x4312: Internal Interrupt Level Setup Register 2 (ITC_ILV2) .................................................. 6-23
0x4314: Internal Interrupt Level Setup Register 3 (ITC_ILV3) .................................................. 6-24
6.8 Precautions .....................................................................................................................6-25
7 Oscillator (OSC) ............................................................................................................7-1
7.1 Configuration of OSC Module ..........................................................................................7-1
7.2 OSC3 Oscillator ...............................................................................................................7-2
7.3 OSC1 Oscillator ...............................................................................................................7-4
7.4 Switching the System Clock .............................................................................................7-5
7.5 Controlling the LCD Clock ................................................................................................7-6
7.6 Controlling the 8-bit OSC1 Timer Clock ...........................................................................7-7
7.7 External Output Clock (FOUT3, FOUT1) .........................................................................7-8
7.8 Noise Filters for RESET and NMI Inputs .........................................................................7-10
7.9 Details of Control Registers ............................................................................................7-11
0x5060: Clock Source Select Register (OSC_SRC) ................................................................ 7-12
0x5061: Oscillation Control Register (OSC_CTL) .................................................................... 7-13
0x5062: Noise Filter Enable Register (OSC_NFEN) ................................................................ 7-14
0x5063: LCD Clock Setup Register (OSC_LCLK) ................................................................... 7-15
0x5064: FOUT Control Register (OSC_FOUT) ........................................................................ 7-16
0x5065: T8OSC1 Clock Control Register (OSC_T8OSC1) ...................................................... 7-17
7.10 Precautions ...................................................................................................................7-18
ii
EPSON
S1C17704 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents