
S1C63406 TECHNICAL MANUAL
EPSON
35
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
4.5.5 I/O memory of output ports
Table 4.5.5.1 shows the I/O addresses and control bits for the output ports.
Table 4.5.5.1 Control bits of output ports
Address
Comment
D3
D2
Register
D1
D0
Name
Init 1
10
FF06H
FOUTE FOFQ2 FOFQ1 FOFQ0
R/W
FOUTE
FOFQ2
FOFQ1
FOFQ0
0
Enable
Disable FOUT enable
FOUT
frequency
selection
0
fOSC1/64
4
fOSC1/4
1
fOSC1/32
5
fOSC1
2
fOSC1/16
6
fOSC3/2
3
fOSC1/8
7
fOSC3
[FOFQ2–0]
Frequency
[FOFQ2–0]
Frequency
FF46H
R13
R12
R11
R10
R/W
R13
R12
R11
R10
1
High
Low
R13 output port data (FOUTE=0)
Fix at "1" when FOUT is used (FOUTE=1)
R12 output port data (PTOUT=0)
Fix at "1" when TOUT is used (PTOUT=1)
R11 output port data
R10 output port data
CHSEL
PTOUT
CKSEL1
CKSEL0
0
Timer1
On
OSC3
Timer0
Off
OSC1
TOUT output channel selection
TOUT output control
Prescaler 1 source clock selection
Prescaler 0 source clock selection
R/W
FFC1H
CHSEL PTOUT CKSEL1 CKSEL0
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
R10–R13: R1 output port data register (FF46H)
Set the output data for the output ports.
When "1" is written: High level output
When "0" is written: Low level output
Reading: Valid
The output port terminals output the data written in the corresponding data registers without changing
it. When "1" is written to the register, the output port terminal goes high (VDD), and when "0" is written,
the output port terminal goes low (VSS).
When the output ports R12 and R13 are used for special output (TOUT, FOUT), fix the R12 register and
the R13 register at "1".
At initial reset, these registers are all set to "1".
PTOUT: TOUT output control register (FFC1HD2)
Controls the TOUT output.
When "1" is written: TOUT output ON
When "0" is written: TOUT output OFF
Reading: Valid
By writing "1" to the PTOUT register when the R12 register has been set to "1", the TOUT signal is output
from the R12 terminal. When "0" is written, the R12 terminal goes high (VDD).
When using the R12 output port for DC output, fix this register at "0".
At initial reset, this register is set to "0".
FOUTE: FOUT output control register (FF06HD3)
Controls the FOUT output.
When "1" is written: FOUT output ON
When "0" is written: FOUT output OFF
Reading: Valid
By writing "1" to the FOUTE register when the R13 register has been set to "1" , an FOUT signal is output
from the R13 terminal. When "0" is written, the R13 terminal goes high (VDD).
When using the R13 output port for DC output, fix this register at "0".
At initial reset, this register is set to "0".