
TABLE OF CONTENTS
vi
EPSON
S1C33205 TECHNICAL MANUAL
III-7 CLOCK TIMER ............................................................................................... B-III-7-1
Configuration of Clock Timer .........................................................................................................................B-III-7-1
Control and Operation of the Clock Timer................................................................................................B-III-7-2
Interrupt Function...............................................................................................................................................B-III-7-4
Examples of Use of Clock Timer..................................................................................................................B-III-7-6
I/O Memory of Clock Timer ............................................................................................................................B-III-7-7
Programming Notes .......................................................................................................................................B-III-7-12
III-8 SERIAL INTERFACE...................................................................................... B-III-8-1
Configuration of Serial Interfaces ................................................................................................................B-III-8-1
Features of Serial Interfaces ...........................................................................................................B-III-8-1
I/O Pins of Serial Interface ...............................................................................................................B-III-8-2
Setting Transfer Mode.......................................................................................................................B-III-8-3
Clock-Synchronized Interface .......................................................................................................................B-III-8-4
Outline of Clock-Synchronized Interface ....................................................................................B-III-8-4
Setting Clock-Synchronized Interface .........................................................................................B-III-8-5
Control and Operation of Clock-Synchronized Transfer.......................................................B-III-8-7
Asynchronous Interface................................................................................................................................B-III-8-12
Outline of Asynchronous Interface.............................................................................................B-III-8-12
Setting Asynchronous Interface..................................................................................................B-III-8-13
Control and Operation of Asynchronous Transfer...............................................................B-III-8-16
IrDA Interface....................................................................................................................................................B-III-8-21
Outline of IrDA Interface.................................................................................................................B-III-8-21
Setting IrDA Interface......................................................................................................................B-III-8-21
Control and Operation of IrDA Interface ..................................................................................B-III-8-23
Serial Interface Interrupts and DMA ........................................................................................................B-III-8-24
I/O Memory of Serial Interface ...................................................................................................................B-III-8-28
Programming Notes........................................................................................................................................B-III-8-46
III-9 INPUT/OUTPUT PORTS................................................................................. B-III-9-1
Input Ports (K Ports) .........................................................................................................................................B-III-9-1
Structure of Input Port .......................................................................................................................B-III-9-1
Input-Port Pins......................................................................................................................................B-III-9-2
Notes on Use ........................................................................................................................................B-III-9-2
I/O Memory of Input Ports................................................................................................................B-III-9-3
I/O Ports (P Ports) .............................................................................................................................................B-III-9-4
Structure of I/O Port ...........................................................................................................................B-III-9-4
I/O Port Pins..........................................................................................................................................B-III-9-4
I/O Control Register and I/O Modes ............................................................................................B-III-9-5
I/O Memory of I/O Ports....................................................................................................................B-III-9-6
Input Interrupt...................................................................................................................................................B-III-9-12
Port Input Interrupt...........................................................................................................................B-III-9-12
Key Input Interrupt ...........................................................................................................................B-III-9-14
Control Registers of the Interrupt Controller ..........................................................................B-III-9-16
I/O Memory for Input Interrupts...................................................................................................B-III-9-18
Programming Notes .......................................................................................................................................B-III-9-25