FW Profile - C1 Implementation
FwDaHwDev.h
Go to the documentation of this file.
1 
22 #ifndef FWDAHWDEV_H_
23 #define FWDAHWDEV_H_
24 
25 #include "FwSmConstants.h"
26 #include "FwSmCore.h"
27 
29 #define HW_DEV_ON 1
30 
31 #define HW_DEV_OFF 2
32 
33 #define HW_DEV_SBY 1
34 
35 #define HW_DEV_OPER 2
36 
38 #define TR_HW_DEV_ON 1
39 
40 #define TR_HW_DEV_OFF 2
41 
42 #define TR_HW_DEV_OPER 3
43 
44 #define TR_HW_DEV_SBY 4
45 
47 #define HW_DEV_TEMP_MAX 100
48 
50 #define HW_DEV_CUR_MAX 1
51 
62 
70 float GetHwDevTemp();
71 
79 float GetHwDevCur();
80 
81 #endif /* FWDAHWDEV_H_ */
float GetHwDevCur()
This function returns the current absorbed by the Hardware Device.
Definition: FwDaHwDev.c:129
Declaration of the execution interface for a FW State Machine.
float GetHwDevTemp()
This function returns the temperature of the Hardware Device.
Definition: FwDaHwDev.c:124
Header file to define all constants and types for the state machine module of the FW Profile...
Structure representing a state machine descriptor.
Definition: FwSmPrivate.h:303
FwSmDesc_t GetHwDevSm()
Retrieve the descriptor of the Hardware Device State Machine.
Definition: FwDaHwDev.c:92
P&P Software GmbH, Copyright 2011, All Rights Reserved