10
EPSON
E0C6006 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
Table 4.1.1 I/O memory map
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
0FAH
K03
K02
K01
K00
R
K03
K02
K01
K00
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
K0 input port data
0FBH
K13
K12
K11
K10
R
K13
K12
K11
K10
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
K1 input port data
0FCH
R03
BZ
R02
BZ
FOUT
R01
R00
R/W
R03
BZ
R02
BZ/FOUT
R01
R00
0
0
0
0
0
0
High
On
High
On
High
High
Low
Low
Low
Low
Low
Low
R03 output port data
Signal on/off when BZ is selected. (mask option)
R02 output port data
Signal on/off when BZ/FOUT is selected. (mask option)
R01 output port data
R00 output port data
0FFH
0
0
IOC
0
R/W
R
R
0
∗
3
0
∗
3
IOC
0
∗
3
–
∗
2
–
∗
2
0
–
∗
2
–
–
Output
–
–
–
Input
–
Unused
Unused
I/O port I/O control
Unused
0FEH
P03
P02
P01
P00
R/W
P03
P02
P01
P00
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P0 I/O port data
0F8H
RIC3
RIC2
RIC1
RIC0
W
RIC3
RIC2
RIC1
RIC0
–
∗
5
–
∗
5
–
∗
5
–
∗
5
REM interrupt counter (0
τ
to 14
τ
)
0F9H
ROUT1 ROUT0
MF91
MF90
R/W
ROUT1
ROUT0
MF91
MF90
0
0
–
∗
5
–
∗
5
REM output duration setting (0
τ
to 3
τ
)
General-purpose register
General-purpose register
0F4H
TM03
TM02
TM01
TM00
R
TM03
TM02
TM01
TM00
0
0
0
0
Timer data (16 Hz)
Timer data (32 Hz)
Timer data (64 Hz)
Timer data (128 Hz)
0F5H
TM13
TM12
TM11
TM10
R
TM13
TM12
TM11
TM10
0
0
0
0
Timer data (1 Hz)
Timer data (2 Hz)
Timer data (4 Hz)
Timer data (8 Hz)
0F7H
RCDIV RCDUTY
RT1
RT0
R/W
RCDIV
RCDUTY
RT1
RT0
–
∗
5
–
∗
5
–
∗
5
–
∗
5
REM carrier interval
and duty ratio setting
τ
cycle (division ratio) setting
0: 1/12, 1: 1/16, 2: 1/20, 3: 1/32
0F2H
REMC
EIREM
EIK1
EIK0
R/W
REMC
EIREM
EIK1
EIK0
1
0
0
0
On
Enable
Enable
Enable
Off
Mask
Mask
Mask
REM carrier generation on/off
Interrupt mask register (REM)
Interrupt mask register (K10–K13)
Interrupt mask register (K00–K03)
0F0H
REMSO
IREM
IK1
IK0
R/W
R
REMSO
IREM
∗
4
IK1
∗
4
IK0
∗
4
0
–
∗
5
0
0
On
Yes
Yes
Yes
Off
No
No
No
Forced REM output (on/off)
Interrupt factor flag (REM)
Interrupt factor flag (K10–K13)
Interrupt factor flag (K00–K03)
0F3H
TMRUN
EIT2
EIT8
EIT32
R/W
TMRUN
EIT2
EIT8
EIT32
0
0
0
0
Run
Enable
Enable
Enable
Reset,Stop
Mask
Mask
Mask
Timer run/reset & stop
Interrupt mask register (clock timer 2 Hz)
Interrupt mask register (clock timer 8 Hz)
Interrupt mask register (clock timer 32 Hz)
0F6H
0
0
CLKCHG OSCC
R
R/W
0
∗
3
0
∗
3
CLKCHG
OSCC
–
∗
2
–
∗
2
0
1
–
–
OSC1
On
–
–
OSC3
Off
Unused
Unused
CPU clock change
OSC3 oscillation on/off
0F1H
WDRST
IT2
IT8
IT32
W
R
WDRST
IT2
∗
4
IT8
∗
4
IT32
∗
4
Reset
0
0
0
Reset
Yes
Yes
Yes
–
No
No
No
Watchdog timer reset
Interrupt factor flag (clock timer 2 Hz)
Interrupt factor flag (clock timer 8 Hz)
Interrupt factor flag (clock timer 32 Hz)
∗
1
∗
2
Initial value at initial reset
Not set in the circuit
∗
5 Undefined
∗
3
∗
4
Always "0" being read
Reset (0) immediately after being read
D3
0
0
1
1
D2
0
1
0
1
Div. ratio
1/8
1/8
1/12
1/12
Duty
1/4
3/8
1/3
1/4