Specifications
Table Of Contents
- Technical Hardware
- 1 OVERVIEW
- 2 POWER SUPPLY AND INITIAL RESET
- 3 CPU, ROM, RAM
- 4 PERIPHERAL CIRCUITS AND OPERATION
- 4.1 Memory Map
- 4.2 Resetting Watchdog Timer
- 4.3 Oscillation Circuit
- 4.4 Input Ports (K00–K03, K10)
- 4.5 Output Ports (R00–R03)
- 4.6 I/O Ports (P00–P03, P10–P13, P20–P23)
- 4.7 LCD Driver (COM0–COM3, SEG0–SEG31)
- 4.8 Clock Timer
- 4.9 Stopwatch Timer
- 4.10 Programmable Timer
- 4.11 Serial Interface (SIN, SOUT, SCLK, SRDY)
- 4.12 A/D Converter
- 4.13 General-purpose Operation Amplifier (AMP)
- 4.14 SVD (Supply Voltage Detection) Circuit
- 4.15 Interrupt and HALT/SLEEP
- 5 SUMMARY OF NOTES
- 6 DIAGRAM OF BASIC EXTERNAL CONNECTIONS
- 7 CHARACTERISTICS
- 8 PACKAGE
- 9 PAD LAYOUT
- Technical Software
- 1 INTRODUCTION
- 2 BLOCK DIAGRAM
- 3 PROGRAM MEMORY (ROM)
- 4 DATA MEMORY
- 5 INITIAL RESET
- 6 PERIPHERAL CIRCUITS
- 6.1 Watchdog Timer
- 6.2 OSC3
- 6.3 Input Ports (K00–K03 and K10)
- 6.4 Output Ports (R00–R03)
- 6.5 I/O Ports (P00–P03, P10–P13 and P20–P23)
- 6.6 LCD Driver
- 6.7 Clock Timer
- 6.8 Stopwatch Timer
- 6.9 Programmable Timer
- 6.10 Serial Interface Circuit
- 6.11 Amplifier
- 6.12 SVD (Supply Voltage Detection) Circuit
- 6.13 A/D Converter
- 6.14 Sleep
- 6.15 Interrupt
- 7 SUMMARY OF NOTES
- APPENDIX

II-22 EPSON S1C62740 TECHNICAL SOFTWARE
CHAPTER 6: PERIPHERAL CIRCUITS (Output Ports)
Output Ports (R00–R03)6.4
I/O data memory of
the output ports
The control registers of the output ports are shown in Table 6.4.1.
Table 6.4.1 Control registers of output ports
*1 Initial value at the time of initial reset *5 Constantly "0" when being read
*2 Not set in the circuit *6 Refer to main manual
*3 Undefined *7 Page switching in I/O memory is not necessary
*4 Reset (0) immediately after being read
Control of the
general output ports
The S1C62740 has 4 bits (R00–R03) general output ports built-in.
Output port terminals will generate the data written into the
corresponding registers (R00–R03) as it is. The output port termi-
nal goes high (V
DD) when "1" is written to the register, and goes low
(V
SS) when "0" is written. The output ports R03 and R02 are
initialized to low level (0), R01 and R00 are initialized to high level
(1) after an initial reset.
The output ports R00–R03 are all software programmable for
special use output ports as shown in the later of this section. So
please set the following registers to "0" when want to use R00–R03
as general output ports.
BZR03: E0H•D3, BZR02: E0H•D2, PTR01: E9H•D3, FOR00: E1H•D3
Address
Comment
Register
D3 D2 D1 D0 Name Init 1 0
*1
D4H
R00
FOUT
R/W
R03
BZ
R02
BZ
R01
PTOVF
R00
FOUT
0
0
1
1
High
On
High
On
High
Off
High
Off
Low
Off
Low
Off
Low
On
Low
On
R01
PTOVF
R02
BZ
R03
BZ
*7
Output port (R03)
Buzzer inverted output
Output port (R02)
Buzzer output
Output port (R01)
PTOVF output
Output port (R00)
FOUT output
E0H
BZFQ
R/W
BZR03
BZR02
0
BZFQ
0
0
–
0
R03 port output selection
R02 port output selection
Unused
Buzzer frequency selection
Buzzer
Buzzer
2kHz
DC
DC
4kHz
0BZR02BZR03
*2
*5
E1H
FOFQ0
R/W
FOR00
0
FOFQ1
FOFQ0
0
–
0
0
FOUT DC
FOFQ10FOR00
*2
*5
R00 port output selection
Unused
FOUT frequency selection
0: 512 Hz, 1: 4096 Hz, 2: f
OSC1, 3: fOSC3
R R/W
RR/W
E9H
PTRST
W
PTR01
0
PTRUN
PTRST
0
–
0
–
R01 port output selection
Unused
Programmable timer Run/Stop
Programmable timer reset (reload)
PTOVF
Run
Reset
DC
Stop
–
PTRUN
R/W
0
R
PTR01
R/W
*2
*5
*5