
ML62Q1000 Series User's Manual
Chapter 12
I2C Bus Unit
FEUL62Q1000
12-29
12.3.3.4 Communication Wait State
12.3.3.5 Data Transmission Mode
Communication wait state completed
(move to data transmission/reception
mode or stop condition)
Communication wait state start
Confirm I
2
C bus 0 status register
Confirm the I2US0STA register
I2US0ER bit: transmit error flag
I2US0ACR bit: Acknowledgment data
Fix I2CU0_SCL pin to "L" level
Load received data into CPU
<Only when data is received> Read I2US0RD
I2US0R7 to I2US0R0 bits: 8-bit receive data
Set communication mode
<Only when interrupt source is changed>
Set the I2US0MD register
Release the communication wait state
Set I2US0WT=1 with I2US0CON
Switch to the high-speed clock after setting the I2US0WT bit.
Write data transmitted next time
<Only when data is transmitted> Set the I2US0TD register
I2US0T7 to I2US0T0 bits: 8-bit transmit data
Generate I
2
C bus unit interrupt
(I2CU0INT)
When entering communication wait state,
an interrupt is generated through hardware
Data transmit mode completed
(move to communication wait
state)
Data transmit mode start
Acknowledgment signal is received by
the I
2
C bus status register (I2US0STA)
Acknowledgment signal is received through hardware
I2US0ACR bit: Acknowledgment data
Transmit value of I
2
C bus 0 transmit
data register (I2US0TD)
The transmit data that has been written to the I2US0TD register
is transmitted from I2CU0_SDA pin in MSB first
I2US0T7 to I2US0T0 bits: 8-bit transmit data
Value transmitted from the I2CU0_SDA pin
is stored in the I2US0RD register
Shift to communication wait state after detection of falling
edge of transfer clock which was input to I2CU0_SCL pin
receiving acknowledgment data
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...