
Rev. 2.0, 11/00, page 988 of 1037
H'D159: I
2
C Bus Status Register ICSR: IIC Bus Interface
7
ESTP
0
R/(W)
*
6
STOP
0
R/(W)
*
5
IRTR
0
R/(W)
*
4
AASX
0
R/(W)
*
3
AL
0
R/(W)
*
0
ACKB
0
R/W
2
AAS
0
R/(W)
*
1
ADZ
0
R/(W)
*
Note:
*
Only 0 can be written to clear the flag.
Error stop condition detection flage
0 No error stop condition
[Clearing conditions]
(1) When 0 is written in ESTP after reading ESTP = 1
(2) When the IRIC flag is cleared to 0
1
■
In I
2
C bus format slave mode
Error stop condition detected
[Setting conditions]
• When a stop condition is detected during frame transfer
■
In other mode
No meaning
Normal stop condition detection flag
0 No normal stop condition
[Clearing conditions]
(1) When 0 is written in STOP after reading STOP = 1
(2) When the IRIC flag is cleared to 0
1
■
In I
2
C bus format slave mode
Normal stop condition detected
[Setting conditions]
• When a stop condition is detected after completion of frame transfer
■
In other mode
No meaning
I
2
C bus interface continuous transmission/reception interrupt request flag
0 Waiting for transfer, or transfer in progress
[Clearing conditions]
(1) When 0 is written in IRTR after reading IRTR = 1
(2) When the IRIC flag is cleared to 0
1 Continuous transfer state
[Setting conditions]
■
In I
2
C bus interface slave mode
• When the TDRE or RDRF flag is set to 1 when AASX = 1
■
In other mode
• When the TDRE or RDRF flag is set to 1
Second slave address recognition flag
0 Second slave address not recognized
[Clearing conditions]
(1) When 0 is written in AASX after reading AASX = 1
(2) When a start condition is detected
(3) In master mode
1 Second slave address recognized
[Setting conditions]
• When the second slave address is detected in slave receive mode while FSX = 0
Arbitration lost flag
0 Bus arbitration won
[Clearing conditions]
(1) When ICDR data is written (transmit mode) or read (receive mode)
(2) When 0 is written in AL after reading AL = 1
1 Arbitration lost
[Setting conditions]
(1) If the internal SDA and SDA pin disagree at the rise of SCL in master transmit mode
(2) If the internal SCL line is high at the fall of SCL in master transmit mode
Slave address recognition flag
0 Slave address or general call address not recognized
[Clearing conditions]
(1) When ICDR data is written (transmit mode) or read (receive mode)
(2) When 0 is written in AAS after reading AAS = 1
(3) In master mode
1 Slave address or general call address recognized
[Setting conditions]
• When the slave address or general call address is detected in slave receive mode
General call address recognition flag
0 General call address not recognized
[Clearing conditions]
(1) When ICDR data is written (transmit mode) or read (receive mode)
(2) When 0 is written in ADZ after reading ADZ = 1
(3) In master mode
1 General call address recognized
[Setting conditions]
• When the general call address is detected in slave receive mode
Acknowledge bit
0 Receive mode: 0 is output at acknowledge output timing
Transmit mode: Indicates that the receiving device has acknowldeged the data (signal is 0)
1 Receive mode; 1 is output at acknowledge output timing
Transmit mode: Indicates that the receiving device has not acknowldeged the data (signal is 1)
Bit :
Initial value :
R/W :
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...