Renesas H8S/2111B Network Card User Manual


 
Rev. 1.00, 05/04, page 297 of 544
13.3.6 I
2
C Bus Status Register (ICSR)
ICSR consists of status flags. Also see tables 13.4 and 13.5.
Bit Bit Name
Initial
Value R/W Description
7 ESTP 0 R/(W)* Error Stop Condition Detection Flag
This bit is valid in I
2
C bus format slave mode.
[Setting condition]
When a stop condition is detected during frame
transfer.
[Clearing conditions]
When 0 is written in ESTP after reading ESTP = 1
When the IRIC flag in ICCR is cleared to 0
6 STOP 0 R/(W)* Normal Stop Condition Detection Flag
This bit is valid in I
2
C bus format slave mode.
[Setting condition]
When a stop condition is detected after frame transfer
completion.
[Clearing conditions]
When 0 is written in STOP after reading STOP = 1
When the IRIC flag is cleared to 0
5 IRTR 0 R/(W)* I
2
C Bus Interface Continuous Transfer Interrupt
Request Flag
Indicates that the I
2
C bus interface has issued an
interrupt request to the CPU, and the source is
completion of reception/transmission of one frame in
continuous transmission/reception. When the IRTR flag
is set to 1, the IRIC flag is also set to 1 at the same
time.
[Setting conditions]
I
2
C bus format slave mode:
When the ICDRE or ICDRF flag in ICDR is set to 1
when AASX = 1
Master mode or clocked synchronous serial format
mode with I
2
C bus format:
When the ICDRE or ICDRF flag is set to 1
[Clearing conditions]
When 0 is written after reading IRTR = 1
When the IRIC flag is cleared to 0 while ICE is 1