
ML610Q421/ML610Q422/ML610421 User’s Manual
Chapter 15 I
2
C Bus Interface
15 – 8
15.2.7 I
2
C Bus 0 Status Register (I2C0STAT)
Address: 0F2A5H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
I2C0STAT
—
—
—
—
—
I20ER
I20ACR
I20BB
R
R
R
R
R
R
R
R
R
Initial value:
0
0
0
0
0
0
0
0
I2C0STAT is a read-only special function register (SFR) to indicate the state of the I
2
C bus interface.
[Description of Bits]
•
I20BB
(bit 0)
The I20BB bit is used to indicate the state of use of the I
2
C bus interface. When the start condition is generated on
the I
2
C bus, this bit is set to “1” and when the stop condition is generated, the bit is set to “0”. The I20BB bit is set to
“0” when the I20EN bit of I2C0MOD is “0”.
I20BB
Description
0
I
2
C bus-free state (Initial value)
1
I
2
C bus-busy state
•
I20ACR
(bit 1)
The I20ACR bit is used to store the acknowledgment signal received. Acknowledgment signals are received each
time the slave address is received and data transmission or reception is completed. The I20ACR bit is set to “0”
when the I20EN bit of I2C0MOD is “0”.
I20ACR
Description
0
Receives acknowledgment “0”. (Initial value)
1
Receives acknowledgment “1”.
•
I20ER
(bit 2)
The I20ER bit is a flag to indicate a transmit error. When the value of the bit transmitted and the value of the SDA
pin do not coincide, this bit is set to “1”. The SDA remains the output until the subsequent byte data communication
terminates even if I20ER is set to “1”.
The I20ER bit is set to “0” when a write operation to I2C0CON is performed. The I20ER bit is set to “0” when the
I20EN bit of I2C0MOD is set to “0”.
I20ER
Description
0
No transmit error (initial value)
1
Transmit error
Содержание ML610421
Страница 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Страница 15: ...Chapter 1 Overview...
Страница 44: ...Chapter 2 CPU and Memory Space...
Страница 49: ...Chapter 3 Reset Function...
Страница 53: ...Chapter 4 MCU Control Function...
Страница 69: ...Chapter 5 Interrupts INTs...
Страница 93: ...Chapter 6 Clock Generation Circuit...
Страница 110: ...Chapter 7 Time Base Counter...
Страница 121: ...Chapter 8 Capture...
Страница 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Страница 135: ...Chapter 10 Timers...
Страница 160: ...Chapter 11 PWM...
Страница 172: ...Chapter 12 Watchdog Timer...
Страница 180: ...Chapter 13 Synchronous Serial Port...
Страница 195: ...Chapter 14 UART...
Страница 216: ...Chapter 15 I2 C Bus Interface...
Страница 231: ...Chapter 16 NMI Pin...
Страница 237: ...Chapter 17 Port 0...
Страница 246: ...Chapter 18 Port 1...
Страница 252: ...Chapter 19 Port 2...
Страница 259: ...Chapter 20 Port 3...
Страница 270: ...Chapter 21 Port 4...
Страница 282: ...Chapter 22 Port A...
Страница 290: ...Chapter 23 Melody Driver...
Страница 304: ...Chapter 24 RC Oscillation Type A D Converter...
Страница 327: ...Chapter 25 Successive Approximation Type A D Converter...
Страница 338: ...Chapter 26 LCD Drivers...
Страница 371: ...Chapter 27 Battery Level Detector...
Страница 378: ...Chapter 28 Power Supply Circuit...
Страница 381: ...Chapter 29 On Chip Debug Function...
Страница 384: ...Appendixes...
Страница 435: ...Revision History...