M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
Address 00D916
2
I C Status Register
b7 b6 b5 b4 b3 b2 b1 b0
I2C status register (S1) [Address 00D916
]
B
Name
Functions
After reset R W
0
Last receive bit (LRB)
(See note)
0 : Last bit = “0 ”
1 : Last bit = “1 ”
Indeterminate
R —
(See note)
1
2
General call detecting flag
(AD0) (See note)
0 : No general call detected
1 : General call detected
0
R —
(See note)
Slave address comparison
flag (AAS) (See note)
0 : Address mismatch
1 : Address match
0
R —
(See note)
(See note)
3
4
5
Arbitration lost detecting flag 0 : Not detected
(AL) (See note)
0
R —
1 : Detected
I2C-BUS interface interrupt
request bit (PIN)
0 : Interrupt request issued
1 : No interrupt request issued
1
R W
Bus busy flag (BB)
0 : Bus free
1 : Bus busy
0
R W
0
6, 7
Communication mode
specification bits
(TRX, MST)
b7 b6
R W
0
0
1
1
0 : Slave recieve mode
1 : Slave transmit mode
0 : Master recieve mode
1 : Master transmit mode
Note : These bits and flags can be read out, but cannnot be written.
Address 00DA16
2
I C Control Register
b7 b6 b5 b4 b3 b2 b1 b0
I2C control register (S1D) [Address 00DA16]
B
Name
Functions
After reset R W
0
to
2
Bit counter
(Number of transmit/recieve
bits)
b2 b1 b0
0
R W
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0: 8
1: 7
0: 6
1: 5
0: 4
1: 3
0: 2
1: 1
(BC0 to BC2)
I2C-BUS interface use
enable bit (ESO)
3
4
5
0: Disabled
1: Enabled
0
R W
Data format selection
bit(ALS)
0: Addressing format
1: Free data format
0
R W
Addressing format selection 0: 7-bit addressing format
0
R W
bit (10BIT SAD)
1: 10-bit addressing format
0
6, 7 Connection control bits
between I2C-BUS interface
and ports
b7 b6 Connection port (See note)
R W
0
0
1
1
0: None
1: SCL1, SDA1
0: SCL2, SDA2
1: SCL1, SDA1, SCL2, SDA2
(BSEL0, BSEL1)
Rev.1.00 Oct 01, 2002 page 98 of 110
REJ03B0134-0100Z