User`s manual
151
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
M37281MAH–XXXSP,M37281MFH–XXXSP
M37281MKH–XXXSP,M37281EKSP
Address 00F816
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
I
2
C status register (S1) [Address 00F816]
I
2
C
S
t
a
t
u
s
R
e
g
i
s
t
e
r
0
3
4
5
6,
7
b
7
b
6
0 0 : Slave recieve mode
0 1 : Slave transmit mode
1 0 : Master recieve mode
1 1 : Master transmit mode
1
2
0
0
0
1
0
B
Nam
e
Function
s
A
f
t
e
r
r
e
s
e
t
R
W
C
o
m
m
u
n
i
c
a
t
i
o
n
m
o
d
e
s
p
e
c
i
f
i
c
a
t
i
o
n
b
i
t
s
(
T
R
X
,
M
S
T
)
0 :
B
us
f
ree
1 : Bus busy
B
u
s
b
u
s
y
f
l
a
g
(
B
B
)
0 :
I
nterrupt request
i
ssue
d
1 : No interrupt request issued
I
2
C
-
B
U
S
i
n
t
e
r
f
a
c
e
i
n
t
e
r
r
u
p
t
r
e
q
u
e
s
t
b
i
t
(
P
I
N
)
0 :
N
ot
d
etecte
d
1 : Detected
A
r
b
i
t
r
a
t
i
o
n
l
o
s
t
d
e
t
e
c
t
i
n
g
f
l
a
g
(
A
L
)
(
S
e
e
n
o
t
e
)
0 :
Add
ress m
i
smatc
h
1 : Address match
S
l
a
v
e
a
d
d
r
e
s
s
c
o
m
p
a
r
i
s
o
n
f
l
a
g
(
A
A
S
)
(
S
e
e
n
o
t
e
)
0 :
N
o genera
l
ca
ll
d
etecte
d
1 : General call detected
G
e
n
e
r
a
l
c
a
l
l
d
e
t
e
c
t
i
n
g
f
l
a
g
(
A
D
0
)
(
S
e
e
n
o
t
e
)
0 :
L
ast
bi
t = “0”
1 : Last bit = “1”
L
a
s
t
r
e
c
e
i
v
e
b
i
t
(
L
R
B
)
(
S
e
e
n
o
t
e
)
N
o
t
e
:
T
h
e
s
e
b
i
t
s
a
n
d
f
l
a
g
s
c
a
n
b
e
r
e
a
d
o
u
t
,
b
u
t
c
a
n
n
n
o
t
b
e
w
r
i
t
t
e
n
.
I
n
d
e
t
e
r
m
i
n
a
t
e
R —
R —
R —
R —
RW
R
W
0
R
W
(
S
e
e
n
o
t
e
)
(
S
e
e
n
o
t
e
)
(
S
e
e
n
o
t
e
)
(
S
e
e
n
o
t
e
)
Address 00F916
b7 b6 b5 b4 b3 b2 b1 b0
0
to
2
Bit counter
(Number of transmit/recieve
bits)
(BC0 to BC2)
b2 b1 b0
0 0 0: 8
0 0 1: 7
0 1 0: 6
0 1 1: 5
1 0 0: 4
1 0 1: 3
1 1 0: 2
1 1 1: 1
3I
2
C-BUS interface use
enable bit (ESO)
0: Disabled
1: Enabled
4 Data format selection bit
(ALS)
0: Addressing format
1: Free data format
5 Addressing format selection
bit (10BIT SAD)
0: 7-bit addressing format
1: 10-bit addressing format
6, 7 Connection control bits
between I
2
C-BUS interface
and ports
(BSEL0, BSEL1)
b7 b6 Connection port (See note)
0 0: None
0 1: SCL1, SDA1
1 0: SCL2, SDA2
1 1: SCL1, SDA1, SCL2, SDA2
0
0
0
0
0
I
2
C control register (S1D) [Address 00F916]
I
2
C Control Register
B
Name Function
s
After reset R
W
R
W
R
W
R
W
R
W
R
W










