データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN3108 データシート(PDF) 30 Page - STMicroelectronics

部品番号 AN3108
部品情報  STLM75 firmware library for the STM32F10x
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3108 データシート(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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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