
50
EPSON
S1C8F626 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports)
■ Special output control
PTOUT0: 00FF30HD3
PTOUT1: 00FF31HD3
PTOUT2: 00FF38HD3
PTOUT3: 00FF39HD3
Controls the TOUT (programmable timer output
clock) signal output.
When "1" is written: TOUT signal output
When "0" is written: DC output
Reading:
Valid
PTOUT0–PTOUT3 are the output control registers
for the TOUT0–TOUT3 signals. When PTOUT0 (or
PTOUT1) is set to "1", the TOUT0 (or TOUT1) signal
is output from the P14 port terminal. When
PTOUT2 (or PTOUT3) is set to "1", the TOUT2 (or
TOUT3) signal is output from the P15 port terminal.
When "0" is set, P14/P15 is set for DC output.
At this time, settings of the I/O control register
IOC14/IOC15 and data register P14D/P15D
become invalid.
At initial reset, PTOUT is set to "0" (DC output).
Note: If PTOUT0 and PTOUT1 are set to "1" at the
same time, PTOUT1 is effective. Similarly, if
PTOUT2 and PTOUT3 are set to "1",
PTOUT3 is effective. Furthermore, if the
programmable timer is set in 16-bit mode, the
TOUT0 and TOUT2 signals cannot be output.
RPTOUT2: 00FF38HD4
RPTOUT3: 00FF39HD4
___________ ___________
Controls the TOUT2/TOUT3 (inverted TOUT2/
TOUT3) signal output.
When "1" is written:
_________
TOUT signal output
When "0" is written: DC output
Reading:
Valid
RPTOUT2 and RPTOUT3 are the output control
___________
registers for the TOUT2 and TOUT3 signals,
respectively. When RPTOUT2 (or RPTOUT3) is set
___________
to "1", the TOUT2 (or TOUT3) signal is output from
the P17 port terminal. When "0" is set, P17 is set for
DC output.
At this time, settings of the I/O control register
IOC17 and data register P17D become invalid.
At initial reset, RPTOUT is set to "0" (DC output).
Note: If RPTOUT2 and RPTOUT3 are set to "1" at
the same time, RPTOUT3 is effective.
Furthermore, if the programmable timer is set
________
in 16-bit mode, the TOUT2 signal cannot be
output.
FOUTON: 00FF40HD3
Controls the FOUT (fOSC1/fOSC3 dividing clock)
signal output.
When "1" is written: FOUT signal output
When "0" is written: DC output
Reading:
Valid
FOUTON is the output control register for FOUT
signal. When "1" is set, the FOUT signal is output
from the P16 port terminal and when "0" is set, P16
is set for DC output. At this time, settings of the I/
O control register IOC16 and data register P16D
become invalid.
At initial reset, FOUTON is set to "0" (DC output).
FOUT0–FOUT2: 00FF40HD4–D6
FOUT signal frequency is set as shown in Table
5.6.6.2.
Table 5.6.6.2 FOUT frequency settings
FOUT2
FOUT frequency
1
0
fOSC3 / 8
fOSC3 / 4
fOSC3 / 2
fOSC3 / 1
fOSC1 / 8
fOSC1 / 4
fOSC1 / 2
fOSC1 / 1
FOUT1
1
0
1
0
FOUT0
1
0
1
0
1
0
1
0
fOSC1:
fOSC3:
OSC1 oscillation frequency
OSC3 oscillation frequency
At initial reset, this register is set to "0" (fOSC1/1).