HomeAut
temperature.h
1 /*******************************************************************************
2  * Purpose:
3  ******************************************************************************/
4 
5 #ifndef TEMPERATURE_H_
6 #define TEMPERATURE_H_
7 
8 
9 /*------------------------------------------------------------------------------
10  * Includes
11  *----------------------------------------------------------------------------*/
12 #include "include.h"
13 
14 
15 /*------------------------------------------------------------------------------
16  * Macros & definitions
17  *----------------------------------------------------------------------------*/
18 #ifdef MODUL_TEMPERATURE_ENABLE
19 
20 
21 /*------------------------------------------------------------------------------
22  * Type definitions
23  *----------------------------------------------------------------------------*/
24 
25 
26 /*------------------------------------------------------------------------------
27  * Global variables
28  *----------------------------------------------------------------------------*/
29 extern float GLOBAL_TemperatureValue_LM75;
30 
31 
32 
33 /*------------------------------------------------------------------------------
34  * Local variables
35  *----------------------------------------------------------------------------*/
36 
37 
38 /*------------------------------------------------------------------------------
39  * Local function declarations
40  *----------------------------------------------------------------------------*/
41 
42 
43 /*------------------------------------------------------------------------------
44  * Global function declarations
45  *----------------------------------------------------------------------------*/
46 void TEMPERATURE_I2C_Init ( void );
47 void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c);
48 ReturnType TEMPERATURE_GetTemperature ( void );
49 
50 
51 #endif // #ifdef MODUL_TEMPERATURE_ENABLE
52 
53 
54 #endif /* TEMPERATURE_H_ */