Electronic Components Datasheet Search
  English  ▼

X  

AN3108 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN3108
Description  STLM75 firmware library for the STM32F10x
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3108 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button AN3108 Datasheet HTML 16Page - STMicroelectronics AN3108 Datasheet HTML 17Page - STMicroelectronics AN3108 Datasheet HTML 18Page - STMicroelectronics AN3108 Datasheet HTML 19Page - STMicroelectronics AN3108 Datasheet HTML 20Page - STMicroelectronics AN3108 Datasheet HTML 21Page - STMicroelectronics AN3108 Datasheet HTML 22Page - STMicroelectronics AN3108 Datasheet HTML 23Page - STMicroelectronics AN3108 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 44 page
background image
STLM75 library firmware
AN3108
20/44
Doc ID 16793 Rev 1
Example:
...
/* Reset the I2C communication */
pObjTempSensor->Reset(pObjTempSensor);
TempSensor:: SetI2C_Settings API function
Table 8 describes the SetI2C_Settings function of the TempSensor structure.
This function is called by the TempSensor:Init function during the initialization phase,
therefore it’s not necessary to directly call it. The final application can specifically call this
function in order to change the I2C peripheral settings after initialization.
Table 7.
Reset API function
Name
Description
Function name
Reset
Function prototype
TS_ErrStatus Reset (TempSensorType* pThis)
Behavior description
Reset the Micro/Sensor I2C communication.
Input parameter {x}
pThis - object 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:
void TS_ResetI2C_Peripheral(TS_I2C_SettingsType* pI2C_Settings);
void TS_InitI2C_Peripheral(TS_I2C_SettingsType* pI2C_Settings);
Table 8.
SetI2C_Settings API function
Name
Description
Function name
SetI2C_Settings
Function prototype
TS_ErrStatus SetI2C_Settings (TempSensorType* pThis,
TS_I2C_SettingsType* pI2C_Settings)
Behavior description
Set the STLM75 I2C peripheral settings copying the right values from the
passed parameter
Input parameter {x}
pThis - Object pointer;
pI2C_Settings - A I2C peripheral structure pointer;
Output parameter {x}
None
Return value
TS_OK if successful, TS_ERROR otherwise
Required preconditions
NewTempSensorObj function must have been called before.
Called functions
HAL function:
void TS_InitI2C_Peripheral(TS_I2C_SettingsType* pI2C_Settings);



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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