
ML62Q1000 Series User's Manual
Chapter 12
I2C Bus Unit
FEUL62Q1000
12-27
12.3.3 Slave Operation
The following flow charts describe procedures of each operation in the slave mode.
12.3.3.1 Initial Setting of Communication Operation
12.3.3.2 Start Condition
Initial setting completed
(move to start condition)
Set I2US0A6 to I2US0A0 bits in the I2US0SA register
Initial setting start
Set slave address
Enables I
2
C slave operation
Set I2US0EN=1 with the I2US0MD register
Set the I2US0MD register
I2US0SIE bit: Enable/disable start condition interrupt
I2US0PIE bit: Enable/disable stop condition interrupt
Select slave mode
Select I2U0MD=1 in the I2U0MSS register
Set I
2
C bus 0 mode register
Confirm communication is stopped
Confirm I2UM0ST=0 in the I2UM0CON register
Start condition completed
(move to slave address receive
d )
Start condition start
Switch I
2
C bus 0 status register
(I2US0STA) to busy state
Value of the following bit becomes "1" when start condition
waveforms are input to I2CU0_SDA and I2CU0_SCL pins:
I2US0BB bit: I
2
C bus busy state (I2US0BB=1)
<Only when I2US0SIE=1>
Start condition interrupt is generated
Generate I
2
C bus unit interrupt
(I2CU0INT)
Содержание 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...