ML610Q111/ML610Q112 User’s Manual
Chapter 13 I
2
C bus Interface Master
FEUL610Q111
13-11
Figure 13-5 shows the operation timing and control method when an acknowledgment error occurs.
Figure 13-5 Operation Suspend Timing at Occurrence of Acknowledgment Error
When the values of the transmitted bit and the SDA pin do not coincide, The I20ER bit of the I2C bus 0 status register
(I2C0STAT) is set to “1” and SDA pin remains the output until termination of the subsequent byte data communication.
I20ER bit is initialized to “0” by writing in any value to I
2
C bus 0 control register (I2C0CON).
Figure 13-6 shows the operation timing and control method when transmission fails.
Figure 13-6 Operation Timing When Transmission Fails
I2C0SA=”xxxxxxx0B”
I2C0CON=”01H”
S
A
6
A
5
A
4
A
3
A
2
A
1
A
0
R
W
A
P
I2C0CON=”02H”
Value of I2C0SA
Value of I2C0SA
Register
setting
SDA
I2CMINT
I20ST
I2C0RD
I20ACR
Acknowledgment error
I2C0SA=”xxxxxxx0B”
I2C0CON=”01H”
S
A
6
A
5
A
4
A
3
A
I2C0CON=”00H”
Undefined data
Register
setting
SDA
I2CMINT
I20ST
I2C0RD
I20ER
Transmission failure
Содержание ML610Q111
Страница 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Страница 14: ...Chapter 1 Overview ...
Страница 26: ...Chapter 2 CPU and Memory Space ...
Страница 34: ...Chapter 3 Reset Function ...
Страница 38: ...Chapter 4 MCU Control Function ...
Страница 53: ...Chapter 5 Interrupts INTs ...
Страница 81: ...Chapter 6 Clock Generation Circuit ...
Страница 95: ...Chapter 7 Time Base Counter ...
Страница 103: ...Chapter 8 Timers ...
Страница 145: ...Chapter 9 Watchdog Timer ...
Страница 153: ...Chapter 10 PWM ...
Страница 199: ...Chapter 11 Synchronous Serial Port ...
Страница 212: ...Chapter 12 UART ...
Страница 240: ...Chapter 13 I2 C Bus Interface Master ...
Страница 254: ...Chapter 14 I2 C Bus Interface Slave ...
Страница 269: ...Chapter 15 Port A ...
Страница 279: ...Chapter 16 Port B ...
Страница 291: ...Chapter 17 Port C ...
Страница 303: ...Chapter 18 Port D ...
Страница 312: ...Chapter 19 Port AB Interrupts ...
Страница 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Страница 335: ...Chapter 21 Voltage Level Supervisor ...
Страница 342: ...Chapter 22 Analog Comparator ...
Страница 353: ...Chapter 23 Data Flash Memory ...
Страница 373: ...Chapter 24 On chip Debug ...
Страница 375: ...Appendixes ...
Страница 393: ...Appendix E ...
Страница 398: ...Revision History ...