Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN3108 Datasheet HTML 26Page - STMicroelectronics AN3108 Datasheet HTML 27Page - STMicroelectronics AN3108 Datasheet HTML 28Page - STMicroelectronics AN3108 Datasheet HTML 29Page - STMicroelectronics AN3108 Datasheet HTML 30Page - STMicroelectronics AN3108 Datasheet HTML 31Page - STMicroelectronics AN3108 Datasheet HTML 32Page - STMicroelectronics AN3108 Datasheet HTML 33Page - STMicroelectronics AN3108 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 44 page
background image
STLM75 library firmware
AN3108
30/44
Doc ID 16793 Rev 1
4.2
HAL Layer firmware overview
This section describes the hardware abstraction layer function used by the upper API layer
described in the previous section. All the library microcontroller hardware dependent
functions and related defined types are described in this section. See Figure 2.
The final application should NEVER directly use these HAL functions, and it should manage
the STLM75 temperature sensor through the API layer functions as described above.
4.2.1
HAL types
Standard types redefinition
/* Standard type redefinition in order
to maintain code portability */
typedef signed long
TS_s32;
typedef signed short
TS_s16;
typedef signed char
TS_s8;
typedef unsigned long
TS_u32;
typedef unsigned short
TS_u16;
typedef unsigned char
TS_u8;
STM32 library types redefinition
/* Redefine micro specific types */
typedef GPIO_TypeDef*
TS_PortType;
typedef GPIOMode_TypeDef
TS_ModeType;
typedef u32
TS_PinType;
typedef I2C_TypeDef*
TS_I2CType;
TS_SignalActionType type
/* Signal state enumeration */
typedef enum
{ TS_SIGNAL_LOW
= Bit_RESET,
TS_SIGNAL_HIGH
= Bit_SET
} TS_SignalActionType;
TS_StateType type
/* State type
*/
typedef enum
{
TS_DISABLE = DISABLE,
TS_ENABLE
= ENABLE



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