Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN3108 Datasheet HTML 7Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 44 page
background image
AN3108
STLM75 library firmware
Doc ID 16793 Rev 1
11/44
4
STLM75 library firmware
This section describes the API and HAL layer implementation. Each library firmware
function is described in detail. API and HAL layer functions are fully described. An example
of how to use API functions is included. No example for HAL functions is provided because
the final application should manage the STLM75 temperature sensor through the API layer
functions only, without any direct access to the HAL functions.
The functions are described in the following format:
4.1
API layer firmware overview
The application programming interface layer allows the final application to easily use the
STLM75 temperature sensor. An OOP approach is used, making it possible for the
application to create and use one or more instances of a TempSensor object.
The TempSensor structure is seen by the application as an object with encapsulate
properties and methods. All read/write operations on the temperature sensors are executed
through this object. It is an advanced structure containing:
●
Properties as data fields
●
Methods as functions pointers
In this way, each API function belongs to the related TempSensor object instance and more
instances, and then more temperature sensors, can be managed without any conflicts.
In addition, the library exports two public API global functions in order to create/destroy a
TempSensor structure instance:
●
NewTempSensorObj function
●
DelTempSensorObj function
Table 3.
Function description format
Name
Description
Function name
The name of the peripheral function
Function prototype
Prototype declaration
Behavior description
Brief explanation of how the function is executed
Input parameter {x}
Description of the input parameters
Output parameter {x}
Description of the output parameters
Return value
Value returned by the function
Required preconditions
Requirements before calling the function
Called functions
Other library functions called



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