Epson S1C88650 User Manual
Page 66

58
EPSON
S1C88650 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports)
Table 5.7.6.1(b) I/O port control bits
SR R/W
Address Bit
Name
Function
Comment
1
0
D7
D6
D5
D4
D3
D2
D1
D0
00FF30
MODE16_A
PTNREN_A
–
–
PTOUT0
PTRUN0
PSET0
CKSEL0
"0" when being read
Reserved register
"0" when being read
0
0
–
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
W
R/W
PTM0–1 8/16-bit mode selection
External clock 0 noise rejecter selection
–
R/W register
PTM0 clock output control
PTM0 Run/Stop control
PTM0 preset
PTM0 input clock selection
16
-
bit
x
1
Enable
–
1
On
Run
Preset
External clock
8
-
bit
x
2
Disable
–
0
Off
Stop
No operation
Internal clock
00FF31 D7
D6
D5
D4
D3
D2
D1
D0
–
–
–
–
PTOUT1
PTRUN1
PSET1
CKSEL1
–
–
–
R/W register
PTM1 clock output control
PTM1 Run/Stop control
PTM1 preset
PTM1 input clock selection
Constantly "0" when
being read
Reserved register
"0" when being read
–
–
–
0
0
0
0
0
R/W
R/W
R/W
W
R/W
–
–
–
0
Off
Stop
No operation
Internal clock
–
–
–
1
On
Run
Preset
External clock
D7
D6
D5
D4
D3
D2
D1
D0
00FF38
MODE16_B
PTNREN_B
–
RPTOUT2
PTOUT2
PTRUN2
PSET2
CKSEL2
"0" when being read
"0" when being read
0
0
–
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
W
R/W
PTM2–3 8/16-bit mode selection
External clock 1 noise rejecter selection
–
PTM2 inverted clock output control
PTM2 clock output control
PTM2 Run/Stop control
PTM2 preset
PTM2 input clock selection
16
-
bit
x
1
Enable
–
On
On
Run
Preset
External clock
8
-
bit
x
2
Disable
–
Off
Off
Stop
No operation
Internal clock
00FF39 D7
D6
D5
D4
D3
D2
D1
D0
–
–
–
RPTOUT3
PTOUT3
PTRUN3
PSET3
CKSEL3
–
–
–
PTM3 inverted clock output control
PTM3 clock output control
PTM3 Run/Stop control
PTM3 preset
PTM3 input clock selection
Constantly "0" when
being read
"0" when being read
–
–
–
0
0
0
0
0
R/W
R/W
R/W
W
R/W
–
–
–
Off
Off
Stop
No operation
Internal clock
–
–
–
On
On
Run
Preset
External clock
00FF40 D7
D6
D5
D4
D3
D2
D1
D0
WDEN
FOUT2
FOUT1
FOUT0
WDRST
TMRST
TMRUN
Watchdog timer enable
FOUT frequency selection
Constantly "0" when
being read
1
0
0
0
0
–
–
0
R/W
R/W
R/W
R/W
R/W
W
W
R/W
Enable
Disable
FOUT2
1
1
1
1
0
0
0
0
FOUT1
1
1
0
0
1
1
0
0
FOUT0
1
0
1
0
1
0
1
0
Frequency
f
OSC3
/ 8
f
OSC3
/ 4
f
OSC3
/ 2
f
OSC3
/ 1
f
OSC1
/ 8
f
OSC1
/ 4
f
OSC1
/ 2
f
OSC1
/ 1
FOUT output control
Watchdog timer reset
Clock timer reset
Clock timer Run/Stop control
On
Reset
Reset
Run
Off
No operation
No operation
Stop
FOUTON