R01UH0136EJ0210 Rev.2.10
Page 555 of 800
Jul 31, 2012
M16C/64A Group
25. Multi-master I
2
C-bus Interface
25.2.10 I2C0 Status Register 1 (S11)
AAS0 (Slave address 0 compare flag) (b0)
AAS1 (Slave address 1 compare flag) (b1)
AAS2 (Slave address 2 compare flag) (b2)
When the ALS bit in the S1D0 register is 0 (addressing format), any slave address stored in bits SAD6
to SAD0 in the S0Di register (i = 0 to 2) is compared with the received slave address. The compare
result is shown in the AASi bit. The AASi bit becomes 1 when there is an address match or when a
general call address is received.
The AAS0 bit is enabled when the MSLAD bit in the S4D0 register is 0 (S0D0 register only). Bits AAS2
to AAS0 are enabled when the MSLAD bit is 1 (registers S0D0 to S0D2).
Conditions to become 0:
•
The ES0 bit in the S1D0 register is set to 0 (I
2
C interface disabled).
•
The IHR bit in the S1D0 register is set to 1 (I
2
C interface reset).
•
The S00 register is written.
b7 b6 b5 b4
b1
b2
b3
I2C0 Status Register 1
Symbol
S11
Address
02B9h
Bit Symbol
Bit Name
RW
Reset Value
XXXX X000b
b0
Function
AAS0
Slave address 0 compare flag
0: No address matched
1: Address matched
RO
AAS1
Slave address 1 compare flag
0: No address matched
1: Address matched
RO
AAS2
Slave address 2 compare flag
0: No address matched
1: Address matched
RO
—
(b7-b3)
No register bits. If necessary, set to 0. The read value is undefined.
—
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...