versadac  1
versadac - Scalable Recorder Firmware
dcpmcr.h
1 /*---------------------------------------------------------------------------*/
2 /* Copyright (C) 2006 Woodhead Software & Electonics. All rights reserved. */
3 /*---------------------------------------------------------------------------*/
4 /* This program is protected by international copyright. */
5 /* */
6 /* The use of this software including but not limited to its Source Code */
7 /* is subject to restrictions as agreed in the license agreement between */
8 /* you and Woodhead. */
9 /* Copying or distribution is not allowed unless expressly permitted */
10 /* according to your license agreement with Woodhead. */
11 /*---------------------------------------------------------------------------*/
12 /* */
13 /* Project : STACK PROFINET device */
14 /* Component : DCP multi cast header */
15 /* $Workfile:: dcpmcr.h $*/
16 /* $Revision:: 2 $*/
17 /* $Date:: 9/22/09 6:01p $*/
18 /* */
19 /*---------------------------------------------------------------------------*/
20 /* */
21 /* D e s c r i p t i o n : */
22 /* DCP muti cast header */
23 /* */
24 /*---------------------------------------------------------------------------*/
25 
26 #ifndef _DCPMCR_H
27 #define _DCPMCR_H
28 
29 /* DCPMCR state definition */
30 #define DCPMCR_POWERON 0
31 #define DCPMCR_OPEN 1
32 #define DCPMCR_WRSP 2
33 
34 #define DCPMCR_MIN_DELAY_FACTOR 0x20
35 
36 #define RETURN_RMPM_ID_DCPMCR_INIT_CNF_POS (*ppMsg)->dwQueue = ID_QUEUE_RMPM; (*ppMsg)->wCodeFnct = ID_RMPM_DCPMCR_ACTIVATE_CNF_POS; return SEND_MESSAGE
37 
38 APP_DWORD APP_FAR dcpmcr_activate_req(LPST_MSG* ppMsg);
39 APP_DWORD APP_FAR dcpmcr_identify_req(LPST_MSG* ppMsg);
40 APP_DWORD APP_FAR dcpmcr_timeout (LPST_MSG* ppMsg);
41 APP_DWORD APP_FAR dcpmcr_close_req (LPST_MSG* ppMsg);
42 APP_DWORD APP_FAR dcpmcr_identify_rsp(LPST_MSG* ppMsg);
43 
44 #endif
Definition: message.h:1163