
ML62Q1000 Series User's Manual
Chapter 12
I2C Bus Unit
FEUL62Q1000
12-18
12.2.13 I
2
C Bus 0 Mode Register (Slave) (I2US0MD)
I2US0MD is a special function register (SFR) used to set the operation mode in the slave mode.
Address:
0xF6D6 (I2US0MD)
Access:
R/W
Access size:
8bit
Initial value:
0x00
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
-
Byte
-
I2US0MD
Bit
-
-
-
-
-
-
-
-
-
I2US0S
IE
I2US0P
IE
I2US0
RIE
I2US0
NAL
I2US0S
PE
-
I2US0
EN
R/W
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R
R/W
Initial
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
no.
Bit symbol
name
Description
6
I2US0SIE
This bit is used to choose whether to enable or disable the start condition interrupt in the slave mode.
0:
Disables the start condition interrupt (initial value)
1:
Enables the start condition interrupt
5
I2US0PIE
This bit is used to choose whether to enable or disable the stop condition interrupt in the slave mode.
0:
Disables the stop condition interrupt (initial value)
1:
Enables the stop condition interrupt
4
I2US0RIE
This bit is used to choose whether to enable or disable the slave address unmatched interrupt while
communicating to the master, receiving re-start condition and an another slave is chosen. This
function performs detecting the status of I2US0SAA bit. Do not clear the I2US0SAA bit by the
software when enabling the interrupt.
0:
Disable the slave address unmatched interrupt after the restart condition (Initial value) 1:
Enable the slave address unmatched interrupt after the restart condition
3
I2US0NAL
This bit is used to enable or disable the communication wait function of the I
2
C bus unit (output "L"
level on the I2CU0_SCL pin) when transmitting to the master and receiving the acknowledge data "1"
from the master. Set this bit to "1" to use the communication wait function.
0:
Disable the communication wait function when receiving the acknowledge data "1" from the
master (Initial value)
1:
Enable the communication wait function when receiving the acknowledge data "1" from the
master
2
I2US0SPE
This bit is used to enable or disable the stop condition interrupt, which is detected by the stop
condition that the master outputs while communicating with other slaves. This function performs
detecting the status of I2US0SAA bit. Do not clear the I2US0SAA bit by the software when enabling
the interrupt.
0:
Enable the stop condition interrupt while the master is communicating with other masters (Initial
value)
1:
Disable the stop condition interrupt while the master is communicating with other masters
1
-
Reserved bit
0
I2US0EN
This bit is used to enable the slave operation of the I
2
C but unit. When "1" is written to this bit, the
operation of the I
2
C bus unit 0 is enabled. When "0" is written to this bit, all the bits of the I
2
C bus
status register (I2US0STA) are initialized to "0", and the operation of the I
2
C bus unit 0 is stopped.
0:
Stop the I
2
C slave operation (initial value)
1:
Enable the I
2
C slave operation
[Note]
Ÿ
Stop the operation by resetting I2US0EN bit to "0" before entering STOP-D mode. Have the same
handling if disable the wake-up from STOP mode by matching the slave address.
Содержание 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...