Os motores de busca de Datasheet de Componentes eletrônicos |
|
AM2320 Folha de dados(PDF) 16 Page - List of Unclassifed Manufacturers |
|
AM2320 Folha de dados(HTML) 16 Page - List of Unclassifed Manufacturers |
16 / 27 page ◎CRC calculation code in C language code Description: This program to calculate the length len * ptr bytes before the CRC. unsigned short crc16(unsigned char *ptr, unsigned char len) { unsigned short crc =0xFFFF; unsigned char i; while(len--) { crc ^=*ptr++; or(i=0;i<8;i++) { if(crc & 0x01) { crc>>=1; crc^=0xA001; }else { crc>>=1; } } } return crc; } 8.2.4 I 2 C Communication Timing AM2320 sensor I 2 C communication, although according to the standard I 2 C communication sequence, but must follow our communication protocols and communication timing requirements, in order to accurately read the sensor. In strict accordance with the communication protocol and timing, please read the design. ◎I 2 C Read full Timing Example Figure 14 shows the read sensor when the full sample and write a special time requirements, in strict accordance with the requirements of the special time to read and write, otherwise it will appear unreadable sensors or incorrect data and so on. Several timing diagram special needs attention, the time requirements detailed in Figure; host communication from beginning to end, for a maximum of 3S. Figure14: I 2 C sensors read the complete example of fig - 15 - |
Nº de peça semelhante - AM2320 |
|
Descrição semelhante - AM2320 |
|
|
Ligação URL |
Privacy Policy |
ALLDATASHEETPT.COM |
ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | roca de Link | Lista de Fabricantes 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 |