| Electronic Components Datasheet Search |
|
STCF05 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF05 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 33 page ![]() I²C bus interface STCF05 18/33 Doc ID 15257 Rev 4 8.7 Writing to multiple registers with incremental addressing It would be unpractical to send several times the device address and the address of the register when writing to multiple registers. STCF05 supports writing to multiple registers with incremental addressing. When data is written to a register, the address register is automatically incremented, so the next data can be sent without sending the device address and the register address again. See Figure 9 below. 8.8 Reading from a single register The reading operation starts with a START bit followed by the 7 bit device address of STCF05. The 8th bit is the R/W bit, which is 0 in this case. STCF05 confirms the receiving of the address + R/W bit by an acknowledge pulse. The address of the register which should be read is sent afterwards and confirmed again by an acknowledge pulse of STCF05 again. Then the master generates a START bit again and sends the device address followed by the R/W bit, which is 1 now. STCF05 confirms the receiving of the address + R/W bit by an Figure 8. Writing to a single register 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 SDA LINE Figure 9. Writing to multiple register with incremental addressing 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 i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K 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 i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K 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 i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K L S B SDA LINE |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |