| Electronic Components Datasheet Search |
|
AN3108 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 44 page ![]() AN3108 STLM75 library firmware Doc ID 16793 Rev 1 19/44 } ... TempSensor:: Init API function Table 6 describes the Init function of the TempSensor structure: Example: TS_SignalsType TempSensorSignals; TS_I2C_SettingsType TempSensorI2C_Settings; ... /* Initialize the temperature sensor according to previous Signals and I2C_Settings */ pObjTempSensor->Init(pObjTempSensor, &TempSensorSignals, &TempSensorI2C_Settings); TempSensor:: Reset API function Table 7 describes the reset function of the TempSensor structure: Table 6. Init API function Name Description Function name Init Function prototype TS_ErrStatus Init (TempSensorType* pThis, TS_SignalsType* pSignals, TS_I2C_SettingsType* pI2C_Settings) Behavior description Initialize the TempSensor object. Input parameter {x} pThis - Object pointer; pSignals - A Signal collection structure pointer; pI2C_Settings - A I2C peripheral structure pointer; Output parameter {x} None Return value TS_OK if successful, TS_ERROR otherwise Required preconditions NewTempSensorObj, must have been called before. Called functions API function: TS_ErrStatus SetSignals (TempSensorType* pThis, TS_SignalsType* pSignals); TS_ErrStatus SetI2C_Settings (TempSensorType* pThis, TS_I2C_SettingsType* pI2C_Settings); HAL function: void TS_InitI2C_Peripheral(TS_I2C_SettingsType* pI2C_Settings); |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |