| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3108 bảng dữ liệu(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 bảng dữ liệu(HTML) 39 Page - STMicroelectronics |
|
39 / 44 page ![]() AN3108 Example application Doc ID 16793 Rev 1 39/44 /* TEST: Write the following value for the Configuration register: 0x00 */ uTestConfigurationValue = 0x00; pObjTempSensor->SetConfiguration (pObjTempSensor, uTestConfigurationValue); /* TEST: Write the following value for the Hysteresis register: 75.5° C */ strTestTemperature.TS_Sign = TS_PLUS_SIGN; strTestTemperature.TS_IntegerValue = 75; strTestTemperature.TS_DecimalValue = 5; /* 0 or 5 only */ pObjTempSensor->SetTempHysteresis (pObjTempSensor, &strTestTemperature); /* TEST: Write the following value for the Over-Limit register: 50.5° C */ strTestTemperature.TS_Sign = TS_PLUS_SIGN; strTestTemperature.TS_IntegerValue = 50; strTestTemperature.TS_DecimalValue = 5; /* 0 or 5 only */ pObjTempSensor->SetTempOverLimit (pObjTempSensor, &strTestTemperature); /* TEST: Read STLM75 values for the Configuration, Hysteresis and Over-Limit temp. registers */ uTestConfigurationValue = pObjTempSensor->GetConfiguration (pObjTempSensor, TS_TRUE); pStrTemperature = pObjTempSensor->GetTempHysteresis (pObjTempSensor, TS_TRUE); pStrTemperature = pObjTempSensor->GetTempOverLimit (pObjTempSensor, TS_TRUE); /* Infinite main loop ----------------------------------------*/ while(1) { /* TEST: Read observed STLM75 temperature and show the read value */ pStrTemperature = pObjTempSensor->GetTemperature (pObjTempSensor, TS_TRUE); |
|
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 |
| 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 |