Datasheet

Data Sheet ADT7310
Rev. A | Page 19 of 24
WRITING DATA
Data is written to the ADT7310 in eight bits or 16 bits, depending
on the addressed register. The first byte written to the device is
the command byte, with the read/write bit set to 0. The master
then supplies the 8-bit or 16-bit input data on the DIN line.
The ADT7310 clocks the data into the register addressed in
the command byte on the positive edge of SCLK. The master
finishes the write by pulling
CS
high.
Figure 18 shows a write to an 8-bit register, and Figure 19 shows
a write to a 16-bit register.
The master must begin a new write transaction on the bus for
every register write. Only one register is written to per bus
transaction.
07789-028
C3
C2
C5
C4
DIN
C7
C6
C1
D2 D1 D0
C0
8-BIT DATA
5 6 7 8 9 10111213141516
SCL
K
1234
D5
CS
R/W REGISTER ADDR
0
00
CONT
READ
D4 D3D7 D6
8-BIT COMMAND BYTE
Figure 18. Writing to an 8-Bit Register
C3 C2C5 C4
DIN
C7 C6 C1 D2 D1 D0
C0
16-BIT DATA
5
24
6 7 8 9 10 11 12 13 14 15 16
22 23
SCLK
1234
D14 D13
17
CS
R/W REGISTER ADDR
0
0
0
CONT
READ
D12 D10D11 D9 D8 D7D15
8-BIT COMMAND BYTE
07789-029
Figure 19. Writing to a 16-Bit Register
CONT
READ
C3
C2
C5
C4
DIN
C7
C6
C1
C0
8-BIT DATA
5 6 7 8 9 10111213141516
SCLK
1234
D6 D5
CS
R/W REGISTER ADDR
0
0
0
D4 D3 D2 D1 D0D7
DOUT
07789-030
8-BIT COMMAND WORD
Figure 20. Read from an 8-Bit Register