FW Profile - C1 Implementation
FwDaCurRecAction.c File Reference

Implementation of Current Recovery Action. More...

Go to the source code of this file.

Functions

FwPrDesc_t GetCurRecActionPr ()
 Retrieve the descriptor of the Current Recovery Action Procedure. More...
 

Detailed Description

Implementation of Current Recovery Action.

Author
V. Cechticky and A. Pasetti

Definition in file FwDaCurRecAction.c.

Function Documentation

FwPrDesc_t GetCurRecActionPr ( )

Retrieve the descriptor of the Current Recovery Action Procedure.

The Current 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 CUR_REC_ACT_N1 cycles
  • It switches off the Hardware Device.
Returns
the procedure descriptor or NULL if the procedure could not be created.

Definition at line 48 of file FwDaCurRecAction.c.

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