| поискавой системы для электроныых деталей |
|
SW52212 датащи(PDF) 30 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
SW52212 датащи(HTML) 30 Page - Silicon Laboratories |
|
30 / 71 page ![]() 8.4 Block Write After the slave address is sent with the R/W condition bit not set, the command byte is sent with the MSB = 0. The lower seven bits indicate the register at which to start the transfer. If the command byte is 00h, the slave device will be compatible with existing block mode slave devices. The next byte of a block write must be the count of bytes that the master will transfer to the slave device. The byte count must be greater than zero and less than 7. Following this byte are the data bytes to be transferred to the slave device. The slave device always acknowledges each byte received. The transfer is terminated after the slave sends the Ack and the master sends a stop function. Slave Address T Wr A Command Command bit starT Condition Block Write Protocol Acknowledge Register # to write MSB = 0 1 7 1 1 8 Master to Slave to A 1 Data Byte 0 A Data Byte 1 A P 1 8 1 8 1 1 stoP Condition Byte Count = 2 A 8 Figure 8.2. Block Write Protocol 8.5 Byte Read/Write Reading or writing a register in an I2C slave device in byte mode always involves specifying the register number. Refer to Table 8.3 Byte Read and Byte Write Protocol on page 33 for byte read and byte write protocol. 8.6 Byte Read The standard byte read is as shown in the figure below. It is an extension of the byte write. The write start condition is repeated; then, the slave device starts sending data, and the master acknowledges it until the last byte is sent. The master terminates the transfer with a NAK, then a stop condition. For byte operation, the MSB bit of the command byte must be set. For block operations, the MSB bit must be set low. If the bit is not set low, the next byte must be the byte transfer count. Slave T Wr A Command Slave A Rd Data Byte 0 N P A r Command starT Condition Byte Read Protocol Acknowledge repeat starT Not ack stoP Condition Register # to read MSB bit = 1 1 7 1 1 8 1 1 7 1 1 8 1 1 Master to Slave to Figure 8.3. Byte Read Protocol Data Sheet Control Registers silabs.com | Building a more connected world. Rev. 1.0 | 30 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |