FW Profile - C1 Implementation
FwDaTempRecAction.c File Reference

Implementation of Temperature Recovery Action. More...

Go to the source code of this file.

Functions

FwPrDesc_t GetTempRecActionPr ()
 Retrieve the descriptor of the Temperature Recovery Action Procedure. More...
 

Detailed Description

Implementation of Temperature Recovery Action.

Author
V. Cechticky and A. Pasetti

Definition in file FwDaTempRecAction.c.

Function Documentation

FwPrDesc_t GetTempRecActionPr ( )

Retrieve the descriptor of the Temperature Recovery Action Procedure.

The Temperature Recovery Action Procedure is a singleton. The first time this function is called, it creates and configures the procedure descriptor. Subsequently, it always returns the same descriptor.

This procedure performs the following actions:

  • It commands the Hardware Device into Stand-By Mode
  • It waits TEMP_REC_ACT_N1 cycles
  • It checks the temperature and, if it finds that it is below TEMP_REC_ACTION_T1, it commands the HW Device back into operational mode; otherwise it switches it off.
Returns
the procedure descriptor or NULL if the procedure could not be created.

Definition at line 61 of file FwDaTempRecAction.c.

P&P Software GmbH, Copyright 2011, All Rights Reserved