Electronic Components Datasheet Search
  English  ▼

X  

AN3108 Datasheet(PDF) 12 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) 12 Page - STMicroelectronics

Back Button AN3108 Datasheet HTML 8Page - STMicroelectronics AN3108 Datasheet HTML 9Page - STMicroelectronics AN3108 Datasheet HTML 10Page - STMicroelectronics AN3108 Datasheet HTML 11Page - STMicroelectronics AN3108 Datasheet HTML 12Page - STMicroelectronics AN3108 Datasheet HTML 13Page - STMicroelectronics AN3108 Datasheet HTML 14Page - STMicroelectronics AN3108 Datasheet HTML 15Page - STMicroelectronics AN3108 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 44 page
background image
STLM75 library firmware
AN3108
12/44
Doc ID 16793 Rev 1
NewTempSensorObj API global function
Table 4 describes the NewTempSensorObj function:
Example:
TempSensorType*
pObjTempSensor;
pObjTempSensor = NewTempSensorObj ();
/* Hardware Configuration: Signals: SCL, SDA, OS_INT pins */
TS_SignalsType TempSensorSignals;
...
/* Hardware Configuration: I2C pheripheral */
TS_I2C_SettingsType TempSensorI2C_Settings;
...
/* Initialize the temperature sensor according to previous Signals
and
I2C_Settings */
pObjTempSensor->Init(pObjTempSensor, &TempSensorSignals,
&TempSensorI2C_Settings);
Once a TempSensor object instance is created using the NewTempSensorObj function, the
TempSensor object itself provides all its features through its internal function pointers.
Figure 2 shows the TempSensor object properties and methods in detail, which the final
application can use to interact with the temperature sensor.
Table 4.
NewTempSensor API function
Name
Description
Function name
NewTempSensorObj
Function prototype
TempSensorType* NewTempSensorObj (void)
Behavior description
Create and initialize a new TempSensor object (a C structure)
Input parameter {x}
None
Output parameter {x}
None
Return value
The created object pointer or null if the object cannot be created
Required preconditions
None
Called functions
No API/HAL layers functions;



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