CHAPTER 10 SERIAL INTERFACE FUNCTION
227
(2) IIC status register (IICS0)
This register indicates the status of the I
2
C bus.
IICS0 can be set by a 1-bit or 8-bit memory manipulation instruction. IICS0 is a read-only register.
RESET input sets IICS0 to 00H.
Figure 10-10. Format of IIC Status Register (IICS0) (1/3)
After reset : 00H
R
Address: FFFFF342H
7
6
5
4
3
2
1
0
IICS0
MSTS
ALD
EXC
COI
TRC
ACKD
STD
SPD
MSTS
Master Device Status
0
Slave device status or communication standby status
1
Master device communication status
Condition for clearing (MSTS = 0)
Condition for setting (MSTS = 1)
•
When a stop condition is detected
•
When ALD = 1
•
Cleared by LREL = 1
•
When IICE changes from 1 to 0
•
When RESET is input
•
When a start condition is generated
ALD
Detection of Arbitration Loss
0
This status means either that there was no arbitration or that the arbitration result was a “win”.
1
This status indicates the arbitration result was a “loss”. MSTS is cleared.
Condition for clearing (ALD = 0)
Condition for setting (ALD = 1)
•
Automatically cleared after IICS0 is read
Note
•
When IICE changes from 1 to 0
•
When RESET is input
•
When the arbitration result is a “loss”.
Note
This register is also cleared when a bit manipulation instruction is executed for bits other than IICS0.
Remark
LREL : Bit 6 of IIC control register (IICC0)
IICE : Bit 7 of IIC control register (IICC0)
Содержание V850/SA1 mPD703015
Страница 2: ...2 MEMO ...
Страница 100: ...100 MEMO ...
Страница 144: ...144 MEMO ...
Страница 200: ...200 MEMO ...
Страница 328: ...328 MEMO ...
Страница 356: ...356 MEMO ...
Страница 358: ...358 MEMO ...
Страница 368: ...368 MEMO ...
Страница 374: ...374 MEMO ...
Страница 382: ...382 MEMO ...