FW Profile - C1 Implementation
|
Implementation of HW Device State Machine. More...
Go to the source code of this file.
Functions | |
FwSmDesc_t | GetHwDevSm () |
Retrieve the descriptor of the Hardware Device State Machine. More... | |
float | GetHwDevTemp () |
This function returns the temperature of the Hardware Device. More... | |
float | GetHwDevCur () |
This function returns the current absorbed by the Hardware Device. More... | |
Implementation of HW Device State Machine.
Definition in file FwDaHwDev.c.
float GetHwDevCur | ( | ) |
This function returns the current absorbed by the Hardware Device.
In this demo application, the current is modelled as a stochastic variable which is uniformly distributed in the interval: [0, HW_DEV_CUR_MAX].
Definition at line 129 of file FwDaHwDev.c.
FwSmDesc_t GetHwDevSm | ( | ) |
Retrieve the descriptor of the Hardware Device State Machine.
The Hardware Device State Machine is a singleton. The first time this function is called, it creates and configures the state machine descriptor. Subsequently, it always returns the same descriptor.
Definition at line 92 of file FwDaHwDev.c.
float GetHwDevTemp | ( | ) |
This function returns the temperature of the Hardware Device.
In this demo application, the temperature is modelled as a stochastic variable which is uniformly distributed in the interval: [0, HW_DEV_TEMP_MAX].
Definition at line 124 of file FwDaHwDev.c.