S1C63358 TECHNICAL MANUAL
EPSON
45
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
4.6.5 I/O memory of output ports
Table 4.6.5.1 shows the I/O addresses and control bits for the output ports.
Table 4.6.5.1 Control bits of output ports
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
FF06H
FOUTE
0
FOFQ1 FOFQ0
R/W
R
R/W
FOUTE
0
∗
3
FOFQ1
FOFQ0
0
–
∗
2
0
0
Enable
Disable
FOUT output enable
Unused
FOUT
frequency
selection
CHSEL
PTOUT
CKSEL1
CKSEL0
0
0
0
0
Timer1
On
OSC3
OSC3
Timer0
Off
OSC1
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
0
f
OSC1
/64
1
f
OSC1
/8
2
f
OSC1
3
f
OSC3
[FOFQ1, 0]
Frequency
FF30H
R03HIZ R02HIZ R01HIZ R00HIZ
R/W
R03HIZ
R02HIZ
R01HIZ
R00HIZ
0
0
0
0
High-Z
High-Z
High-Z
High-Z
Output
Output
Output
Output
R03 output high impedance control (FOUTE=0)
FOUT output high impedance control (FOUTE=1)
R02 output high impedance control (PTOUT=0)
TOUT output high impedance control (PTOUT=1)
R01 output high impedance control
R00 output high impedance control
FF31H
R03
R02
R01
R00
R/W
R03
R02
R01
R00
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R03 output port data (FOUTE=0) Fix at "1" when FOUT is used
R02 output port data (PTOUT=0) Fix at "1" when TOUT is used
R01 output port data
R00 output port data
FF32H
0
0
0
R1HIZ
R
R/W
0
∗
3
0
∗
3
0
∗
3
R1HIZ
–
∗
2
–
∗
2
–
∗
2
0
High-Z
Output
Unused
Unused
Unused
R1 output high impedance control
FF33H
R13
R12
R11
R10
R/W
R13
R12
R11
R10
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R10–R13 output port data
FF34H
0
0
0
R2HIZ
R
R/W
0
∗
3
0
∗
3
0
∗
3
R2HIZ
–
∗
2
–
∗
2
–
∗
2
0
High-Z
Output
Unused
Unused
Unused
R2 output high impedance control
FF35H
R23
R22
R21
R20
R/W
R23
R22
R21
R20
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R20–R23 output port data
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
R00HIZ–R03HIZ: R0 port high impedance control register (FF30H)
R1HIZ:
R1 port high impedance control register (FF32H•D0)
R2HIZ:
R2 port high impedance control register (FF34H•D0)
Controls high impedance output of the output port.
When "1" is written: High impedance
When "0" is written: Data output
Reading: Valid
By writing "0" to the high impedance control register, the corresponding output terminal outputs accord-
ing to the data register. When "1" is written, it shifts into high impedance status.
When the output ports R02 and R03 are used for special output (TOUT, FOUT), fix the R02HIZ register
and the R03HIZ register at "0" (data output).
At initial reset, these registers are set to "0".
Содержание S1C63358
Страница 1: ...Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63358 Technical Hardware S1C63358 MF1022 04 ...
Страница 4: ......
Страница 6: ......