| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AN3108 Datasheet(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 Datasheet(HTML) 27 Page - STMicroelectronics |
|
27 / 44 page ![]() AN3108 STLM75 library firmware Doc ID 16793 Rev 1 27/44 pStrTemperature = pObjTempSensor->GetTemperature (pObjTempSensor, TS_TRUE); TempSensor:: SetTempHysteresis API function Table 16 describes the SetTempHysteresis function of the TempSensor structure. Example: TS_TemperatureType strTestTemperature; ... /* Write the following value for 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); TempSensor:: GetTempHysteresis API function Table 17 describes the GetTempHysteresis function of the TempSensor structure. Table 16. SetTempHysteresis Name Description Function name SetTempHysteresis Function prototype TS_ErrStatus SetTempHysteresis (TempSensorType* pThis, TS_TemperatureType* pTemperature) Behavior description Set the 16-bit Hysteresis temperature register value. Input parameter {x} pThis - Object pointer; pTemperature - Hysteresis temperature structure pointer Output parameter {x} None Return value TS_OK if successful, TS_ERROR otherwise Required preconditions NewTempSensorObj, TempSensor:: Init functions must have been called before. Called functions HAL function: TS_ErrStatus TS_SetPointerRegister(…); TS_ErrStatus TS_FillRegisterFromData(…); Table 17. GetTempHysteresis Name Description Function name GetTempHysteresis Function prototype TS_TemperatureType* GetTempHysteresis (TempSensorType* pThis, TS_Boolean bForceRegisterRead) |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | 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 |