S3C9228/P9228 MICROCONTROLLERSvii
Table of Contents (Continued)
Part II — Hardware Descriptions

Chapter 7 Clock Circuit

Overview................................................................................................................................................. 7-1
System Clock Circuit....................................................................................................................... 7-1
CPU Clock Notation ........................................................................................................................7-1
Main Oscillator Circuits....................................................................................................................7-2
Sub Oscillator Circuits..................................................................................................................... 7-2
Clock Status During Power-Down Modes.........................................................................................7-3
System Clock Control Register (CLKCON)...................................................................................... 7-4
Oscillator Control Register (OSCCON)............................................................................................ 7-5
Switching The CPU Clock................................................................................................................7-6
Stop Control Register (STPCON).................................................................................................... 7-7

Chapter 8 RESETRESET and Power-Down

System Reset.......................................................................................................................................... 8-1
Overview.........................................................................................................................................8-1
Power-Down Modes.................................................................................................................................8-2
Stop Mode.......................................................................................................................................8-2
Idle Mode........................................................................................................................................ 8-3
Hardware Reset Values................................................................................................................... 8-4

Chapter 9 I/O Ports

Overview................................................................................................................................................. 9-1
Port Data Registers......................................................................................................................... 9-2
Port 0.............................................................................................................................................. 9-3
Port 1.............................................................................................................................................. 9-6
Port 2.............................................................................................................................................. 9-9
Port 3.............................................................................................................................................. 9-11
Port 4.............................................................................................................................................. 9-14
Port 5.............................................................................................................................................. 9-15
Port 6.............................................................................................................................................. 9-16

Chapter 10 Basic Timer

Overview................................................................................................................................................. 10-1
Basic Timer Control Register (BTCON)........................................................................................... 10-2
Basic Timer Function Description.................................................................................................... 10-3