Download Print this page

Hitachi H8S/2633 Hardware Manual page 1103

Advertisement

2
ICSR0—I
C Bus Status Register
2
ICSR1—I
C Bus Status Register
Bit
:
Initial value
:
R/W
:
R/(W)*
Error stop condition detection flag
0 No error stop condition
[Clearing]
(1) When 0 written after reading ESTP=1;
(2) When IRIC flag is cleared to 0.
1 • Error stop condition detected in slave mode in I
[Setting]
On detection of stop condition while sending frame.
• No meaning when in other than slave mode in I
Note: * Only 0 can be written to these bits (to clear these flags).
7
6
5
ESTP
STOP
IRTR
AASX
0
0
0
R/(W)*
R/(W)*
R/(W)*
2nd slave address confirmation flag
0 2nd slave address not confirmed
[Clearing]
(1) When 0 is written after reading AASX=1;
(2) When start conditions are detected;
(3) In master mode.
1 2nd slave address confirmed
[Setting]
• When 2nd slave address is detected in slave receive mode and FSX = 0.
2
I
C bus interface continuous transmit and receive interrupt request flag
0 Transmit wait state, or transmitting
[Clearing]
(1) When 0 written after reading IRTR=1;
(2) When IRIC flag is cleared to 0.
1 Continuous transmit state
[Setting]
• In I
2
C bus interface slave mode
When 1 is set in TDRE or RDRF flag when AASX=1.
• In other than I
2
C bus interface slave mode
When TDRE or RDRF flag is set to 1.
Normal end condition detection flag
0 No normal end condition
[Clearing]
(1) When 0 is written after reading STOP=1;
(2) When IRIC flag is cleared to 0.
1 Normal end condition detected in slave mode in I
[Setting]
On detection of stop condition on completion of sending frame.
• No meaning when in other than slave mode in I
4
3
2
1
AL
AAS
ADZ
0
0
0
0
R/(W)*
R/(W)*
R/(W)*
General call address confirmation flag
0 General call address not confirmed
[Clearing]
(1) When data is written to ICDR (when sending), or when data is
read from ICDR (when receiving);
(2) When 0 is written after reading ADZ=1;
(3) In master mode.
1 General call address confirmation
[Setting]
• When general call address is detected is in slave receive mode and
FSX = 0 or FS = 0).
Slave address confirmation flag
0 Slave address or general call address not confirmed
[Clearing]
(1) When data is written to ICDR (when sending), or when data is
read from ICDR (when receiving);
(2) When 0 is written after reading AAS=1;
(3) In master mode.
1 Slave address or general call address confirmed
[Setting]
• When slave address or general call address is detected in slave
receive mode and FS = 0.
Arbitration lost flag
0 Secure bus.
[Clearing]
(1) When data is written to ICDR (when sending), or when data is read (when
receiving);
(2) When 0 is written after reading AL=1.
1 Bus arbitration lost
[Setting]
(1) When there is a mismatch between internal SDA and SDA pin at rise in SCL
in master transmit mode;
(2) When the internal SCL level is HIGH at the fall in SCL in master transmit mode.
2
C bus format
2
C bus format
2
C bus format
2
C bus format
H'FF79
H'FF81
0
ACKB
0
R/W
Acknowledge bit
0 When receiving, 0 is output at acknowledge output timing.
When transmitting, this bit shows that an acknowledge (0)
has not been sent from the receiving device.
1 When receiving, 1 is output at acknowledge output timing.
When transmitting, this bit shows that an acknowledge (1)
has been sent from the receiving device.
IIC0
IIC1
1091

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631