
I-34
EPSON
S1C88348/317/316/308 TECHNICAL HARDWARE
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map)
Table 5.1.1(e) I/O Memory map (00FF30H–00FF33H)
Address Bit
Name
00FF30 D7
D6
D5
D4
D3
D2
D1
D0
–
MODE16
CHSEL
PTOUT
CKSEL1
CKSEL0
SR R/W
Function
Comment
–
8/16-bit mode selection
TOUT output channel selection
TOUT output control
Prescaler 1 source clock selection
Prescaler 0 source clock selection
Constantry "0" when
being read
10
–
0
R/W
–
16-bit x 1
Timer 1
On
fOSC3
–
8-bit x 2
Timer 0
Off
fOSC1
00FF31 D7
D6
D5
D4
D3
D2
D1
D0
EVCNT
FCSEL
PLPOL
PSC01
PSC00
CONT0
PSET0
PRUN0
Timer 0 counter mode selection
Timer 0
function selection
Timer 0
pulse polarity
selection
Timer 0 prescaler dividing ratio selection
Timer 0 continuous/one-shot mode selection
Timer 0 preset
Timer 0 Run/Stop control
"0" when being read
0
–
0
R/W
W
R/W
Event counter
Pulse width
measurement
With
noise rejector
Rising edge
of K10 input
High level
measurement
for K10 input
Continuous
Preset
Run
Timer
Normal
mode
Without
noise rejector
Falling edge
of K10 input
Low level
measurement
for K10 input
One-shot
No operation
Stop
In timer mode
In event counter mode
Down count timing
in event counter mode
In pulse width
measurement mode
PSC01
1
0
PSC00
1
0
1
0
Prescaler dividing ratio
Source clock / 64
Source clock / 16
Source clock / 4
Source clock / 1
00FF32
D7
D6
D5
D4
D3
D2
D1
D0
RLD07
RLD06
RLD05
RLD04
RLD03
RLD02
RLD01
RLD00
Timer 0 reload data D7 (MSB)
Timer 0 reload data D6
Timer 0 reload data D5
Timer 0 reload data D4
Timer 0 reload data D3
Timer 0 reload data D2
Timer 0 reload data D1
Timer 0 reload data D0 (LSB)
1
R/W
High
Low
00FF33
D7
D6
D5
D4
D3
D2
D1
D0
–
PSC11
PSC10
CONT1
PSET1
PRUN1
–
Timer 1 prescaler dividing ratio selection
Timer 1 continuous/one-shot mode selection
Timer 1 preset
Timer 1 Run/Stop control
Constantry "0" when
being read
"0" when being read
–
0
–
0
R/W
W
R/W
–
Continuous
Preset
Run
–
One-shot
No operation
Stop
PSC11
1
0
PSC10
1
0
1
0
Prescaler dividing ratio
Source clock / 64
Source clock / 16
Source clock / 4
Source clock / 1