I 2 C Bus 0 Mode Register (I2C0Mod) - LAPIS Semiconductor ML610Q174 User Manual

Hide thumbs Also See for ML610Q174:
Table of Contents

Advertisement

2
13.2.6
I
C Bus 0 Mode Register (I2C0MOD)
Address: 0F2A4H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
I2C0MOD
R/W
R
Initial value
0
I2C0MOD is a special function register (SFR) to set operating mode.
[Description of Bits]
• I20EN (bit 0)
The I20EN bit is used to enable the operation of the I
I20ST bit can be set and the I20BB flag starts operation. When the I20EN bit is set to "0", all the SFRs related to the
2
I
C bus 0 are initialized.
I20EN
0
Stops I
1
Enables I
• I20MD (bit 1)
The I20MD bit is used to set the communication speed of the I
selected.
I20MD
0
Standard mode (initial value)/ 100kbps@8MHz HSCLK
1
Fast mode / Max. 400kbps@8MHz HSCLK
• I20DW1, I20DW0 (bits 3, 2)
The I20DW1 and I20DW0 bits are used to set the communication speed reduction rate of the I
this bit so that the communication speed does not exceed 100kpbs/400kpbs.
I20DW1
I20DW0
0
0
0
1
1
0
1
1
• I20SYN (bit 4)
The I20SYN bit is used to select whether or not to use the clock synchronization function (handshake function).
When using the clock synchronization function or using a multi-master, set this bit to "1"
I20SYN
0
Clock synchronization is not used. (Initial value)
1
Clock synchronization is used.
Note:
2
The I
C bus is set so that the communication speed may become 100kbps/400kbps when HSCLK is 8 MHz.
FEUL610Q174-01
6
5
R
R
0
0
2
C operation. (Initial value)
2
C operation.
No communication speed reduction (initial value)
10% communication speed reduction
20% communication speed reduction
30% communication speed reduction
4
3
I20SYN
I20DW1
I20DW0
R/W
R/W
R/W
0
0
2
C bus interface. Only when the I20EN bit is set to "1", the
Description
2
C bus interface. Standard mode or fast mode can be
Description
Description
Description
ML610Q174 User's Manual
2
Chapter 13
I
C Bus Interface
2
1
0
I20MD
I20EN
R/W
R/W
0
0
0
2
C bus interface. Set
13-7

Advertisement

Table of Contents
loading

Table of Contents