| Electronic Components Datasheet Search |
|
AN3108 Datasheet(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 Datasheet(HTML) 30 Page - STMicroelectronics |
|
30 / 44 page ![]() 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 |
|
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 |
| 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 |