Table of Contents (Continued)
Part II Hardware Descriptions
Chapter 7
Clock Circuit
Overview........................................................................................................................................................7-1
System Clock Circuit ............................................................................................................................7-1
Main Oscillator Circuits .........................................................................................................................7-2
Sub Oscillator Circuits ..........................................................................................................................7-2
System Clock Circuit Diagram..............................................................................................................7-3
Oscillator Control Register (OSCCON) ..............................................................................................7-4
System Clock Control Register (CLKCON) ..........................................................................................7-4
Chapter 8
RESET and Power-Down
Overview........................................................................................................................................................8-1
Chapter 9
I/O Ports
Port Data Registers .......................................................................................................................................9-1
Port Control Registers ...................................................................................................................................9-2
Port 0 Control Register High (P0CONH) ..............................................................................................9-2
Port 0 Control Register Low (P0CONL) ...............................................................................................9-3
Port 0 Interrupt EDGE Control Register (P0EDGE) .............................................................................9-4
Port 0 Interrupt Control Register (P0INT).............................................................................................9-5
Port 1 Control Register High (P1CONH) ............................................................................................9-6
Port 1 Control Register Low (P1CONL) ...............................................................................................9-7
Port 1 Pull-up Resistors Enable Register (P1PUR) .............................................................................9-8
Port 2 Control Register High (P2CONH) ..............................................................................................9-9
Port 2 Control Register Low (P2CONL) ...............................................................................................9-10
Port 2 Pull-up Resistors Enable Register (P2PUR) .............................................................................9-11
Port 3 Control Register High (P3CONH) ..............................................................................................9-12
Port 3 Control Register Low (P3CONL) ...............................................................................................9-13
Port 3 Pull-up Resistors Enable Register (P3PUR) .............................................................................9-14
Port 4 Control Register High (P4CONH) ..............................................................................................9-15
Port 4 Control Register Low (P4CONL) ...............................................................................................9-16
Port 4 Pull-up Resistors Enable Register (P4PUR) .............................................................................9-17
Port 5 Control Register High (P5CONH) ..............................................................................................9-18
Port 5 Control Register Low (P5CONL) ...............................................................................................9-19
Port 5 Pull-up Resistors Enable Register (P5PUR) .............................................................................9-20
S3CC40D/FC40D_UM_REV1.20 MICROCONTROLLER
vii