| 数据搜索系统,热门电子元器件搜索 |
|
MPL3115A2 数据表(PDF) 11 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MPL3115A2 数据表(HTML) 11 Page - Freescale Semiconductor, Inc |
|
11 / 44 page ![]() MPL3115A2 Sensors Freescale Semiconductor, Inc. 11 while (N>1) // Read N-1 Register Values { N--; b = IIC_CycleRead(N); *array = b; array++; } b = IIC_StopRead(); // Send Stop Read which returns the // IICD *array = b; } /*********************************************************\ * Initiate IIC Start Condition \*********************************************************/ void IIC_Start(void) { IICC_MST = 1; timeout = 0; while ( (!IICS_BUSY) && (timeout<1000)) timeout++; if (timeout >= 1000) error |= 0x01; } //*** Wait until BUSY=0 /*********************************************************\ * Initiate IIC Stop Condition \*********************************************************/ byte IIC_StopRead(void) { IICC_MST = 0; timeout = 0; while ( (IICS_BUSY) && (timeout<1000)) timeout++; if (timeout >= 1000) error |= 0x02; return IICD; } //*** Wait until BUSY=0 For further information and examples please read application note AN4519 Data Manipulation and Basic Settings of the MPL3115A2 Command Line Interface. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |