công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN3223 bảng dữ liệu(PDF) 22 Page - STMicroelectronics

tên linh kiện AN3223
Giải thích chi tiết về linh kiện  Driver for double flash LED with I²C interface
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3223 bảng dữ liệu(HTML) 22 Page - STMicroelectronics

Back Button AN3223 Datasheet HTML 18Page - STMicroelectronics AN3223 Datasheet HTML 19Page - STMicroelectronics AN3223 Datasheet HTML 20Page - STMicroelectronics AN3223 Datasheet HTML 21Page - STMicroelectronics AN3223 Datasheet HTML 22Page - STMicroelectronics AN3223 Datasheet HTML 23Page - STMicroelectronics AN3223 Datasheet HTML 24Page - STMicroelectronics AN3223 Datasheet HTML 25Page - STMicroelectronics AN3223 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 29 page
background image
Reading and writing to the STCF04 registers through the I²C bus
AN3223
22/29
Doc ID 17553 Rev 2
9
Reading and writing to the STCF04 registers through
the I²C bus
9.1
Writing to a single register
Writing to a single register starts with a START bit followed by the 7-bit device address of the
STCF04. The 8th bit is the R/W bit, which is 0 in this case. R/W = 1 means a reading
operation. Then the master awaits an acknowledgement from the STCF04. The 8-bit
address of the desired register is sent afterwards to the STCF04. It is also followed by an
acknowledge pulse. The last transmitted byte is the data which is going to be written into the
register. It is followed again by an acknowledge pulse from STCF04. Then the master
generates a STOP bit and the communication is over. See
Figure 13 below.
9.2
Writing to multiple registers with incremental addressing
It would not be practical to send the device address and the address of the register when
writing to multiple registers several times. The STCF04 supports writing to multiple registers
with incremental addressing. When data is written to a register, the register address is
automatically incremented (by one), and therefore the next data can be sent without sending
again the device address and the register address. See
Figure 14 below.
Figure 13.
Writing to a single register
AM07807v1
S
T
A
R
T
DEVICE
ADDRESS
7 bits
A
C
K
W
R
I
T
E
M
S
B
L
S
B
R
/
W
A
C
K
ADDRESS OF
REGISTER
DATA
A
C
K
A
C
K
S
T
O
P
M
S
B
M
S
B
L
S
B
L
S
B
SDA LINE
S
T
A
R
T
DEVICE
ADDRESS
7 bits
A
C
K
W
R
I
T
E
M
S
B
L
S
B
R
/
W
A
C
K
ADDRESS OF
REGISTER
DATA
A
C
K
A
C
K
S
T
O
P
M
S
B
M
S
B
L
S
B
L
S
B
S
T
A
R
T
DEVICE
ADDRESS
7 bits
A
C
K
W
R
I
T
E
M
S
B
L
S
B
R
/
W
A
C
K
ADDRESS OF
REGISTER
DATA
A
C
K
A
C
K
S
T
O
P
M
S
B
M
S
B
L
S
B
L
S
B



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com