NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 531 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
I2C n Command Register (I2Cn_CMDR)
Register
Offset
R/W
Description
Reset Value
I2Cn_CMDR
n=0,1
0x008
R/W
I2C n Command Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
Reserved
START
STOP
READ
WRITE
ACK
NOTE:
Software can write this register only when I2C_EN = 1.
Bits
Description
[31:5]
Reserved
Reserved.
[4]
START
Generate Start Condition
Generate (repeated) start condition on I
2
C bus.
[3]
STOP
Generate Stop Condition
Generate stop condition on I
2
C bus.
[2]
READ
Read Data From Slave
Retrieve data from slave.
[1]
WRITE
Write Data to Slave
Transmit data to slave.
[0]
ACK
Send Acknowledge to Slave
When I
2
C behaves as a receiver, sent ACK (ACK = ‘0’) or NACK (ACK = ‘1’) to slave.
NOTE:
The START, STOP, READ and WRITE bits are cleared automatically while transfer finished.
READ and WRITE cannot be set concurrently.