
ML62Q1000 Series User's Manual
Chapter 13 I2C Master
FEUL62Q1000
13-11
13.2.7 I
2
C Master n Status Register (I2MnSTR: n=0,1)
I2MnSTR is a special function register (SFR) to indicate the state of the I
2
C bus unit in the master mode.
Address:
0xF6EC(I2M0STAT/I2M0STR), 0xF6ED(I2M0ISR)
0xF6FC(I2M1STAT/I2M1STR), 0xF6FD(I2M1ISR)
Access:
R/W
Access size: 8/16bit
Initial value:
0x00
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
I2MnSTR
Byte
I2MnISR
I2MnSTAT
Bit
-
-
-
-
-
I2MnS
PS
I2MnD
S
I2MnA
S
I2MnB
O
-
-
-
-
I2MnE
R
I2MnA
CR
I2MnB
B
R/W
R
R
R
R
R
R/W
R/W
R/W
R/W
R
R
R
R
R/W
R/W
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
15 to
11
-
Reserved bit
10
I2MnSPS
This bit is used to indicate the usage state of the I
2
C bus.
This bit is set to "1" when transmitting the stop condition has been completed on the I
2
C bus.
To reset this bit, write "1" to this bit or write "0" to I2MnEN bit.
0: The stop condition has not been transmitted (Initial value)
1: The stop condition has been transmitted
9
I2MnDS
This bit is used to indicate the usage state of the I
2
C bus.
This bit is set to "1" when transmitting data or receiving data has been completed on the I
2
C
bus.
To reset this bit, write "1" to this bit or write "0" to I2MnEN bit.
0: The transmission/reception has not been completed (Initial value)
1: The transmission/reception has been completed
8
I2MnAS
This bit is used to indicate the usage state of the I
2
C bus.
This bit is set to "1" when transmitting the start condition and 7 bit slave address have been
completed on the I
2
C bus.
To reset this bit, write "1" to this bit or write "0" to I2MnEN bit.
0: The start condition and the slave address have not been transmitted (Initial value)
1: The start condition and the slave address have been transmitted
7
I2MnBO
This bit is used to indicate the usage state of the I
2
C bus.
This bit is set to "1" when transmitting the start condition has been completed and is reset to
"0" when the time (t
BUF
) has passed after transmitting the stop condition or there happened a
data communication error on the I2CMn_SDA pin.
When this bit is "1", it means the master has acquired use right of the I
2
C bus.
To reset this bit, write "1" to this bit or write "0" to I2MnEN bit.
0: The use right of the I
2
C bus has not been acquired (Initial value)
1: The use right of the I
2
C bus has been acquired
6 to 3
-
Reserved bit
2
I2MnER
This bit is used to indicate a transmission error.
When a bit of transmission data and the value on the I2CMn_SDA pin do not coincide, "1" is
set to this bit.
When this bit is set to "1" and the clock stretch function is used (I2MnSYN = "1"), the
I2Mn_SDA pin output is disabled until the subsequent byte data communication terminates.
Even if this bit is set to "1", the I2Mn_SDA pin output continues until the subsequent byte 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...