William Kane / Generic

Dependents:   LaserioLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers abp_nwetn.h Source File

abp_nwetn.h

00001 /*******************************************************************************
00002 ********************************************************************************
00003 **                                                                            **
00004 ** ABP version 7.16.01 (2015-10-14)                                           **
00005 **                                                                            */
00006 /*******************************************************************************
00007 ********************************************************************************
00008 **
00009 ** File Name
00010 ** ---------
00011 **
00012 ** abp_nwetn.h
00013 **
00014 ********************************************************************************
00015 ********************************************************************************
00016 **
00017 ** Description
00018 ** -----------
00019 **
00020 ** ABP - Anybus-CC Network Ethernet Object Protocol Definitions.
00021 **
00022 ** This software component contains NWETN definitions used by Anybus-CC
00023 ** modules as well as applications designed to use such modules.
00024 **
00025 ********************************************************************************
00026 ********************************************************************************
00027 **                                                                            **
00028 ** COPYRIGHT NOTIFICATION (c) 2008 HMS Industrial Networks AB                 **
00029 **                                                                            **
00030 ** This code is the property of HMS Industrial Networks AB.                   **
00031 ** The source code may not be reproduced, distributed, or used without        **
00032 ** permission. When used together with a product from HMS, this code can be   **
00033 ** modified, reproduced and distributed in binary form without any            **
00034 ** restrictions.                                                              **
00035 **                                                                            **
00036 ** THE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. HMS DOES NOT    **
00037 ** WARRANT THAT THE FUNCTIONS OF THE CODE WILL MEET YOUR REQUIREMENTS, OR     **
00038 ** THAT THE OPERATION OF THE CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR     **
00039 ** THAT DEFECTS IN IT CAN BE CORRECTED.                                       **
00040 **                                                                            **
00041 ********************************************************************************
00042 ********************************************************************************
00043 */
00044 
00045 #ifndef ABP_NWETN_H
00046 #define ABP_NWETN_H
00047 
00048 
00049 /*******************************************************************************
00050 **
00051 ** Network Ethernet Interface object constants.
00052 **
00053 ** Object revision: 1.
00054 **
00055 ********************************************************************************
00056 */
00057 
00058 /*------------------------------------------------------------------------------
00059 **
00060 ** The Network Ethernet Object instance attributes.
00061 **
00062 **------------------------------------------------------------------------------
00063 */
00064 
00065 #define ABP_NWETN_IA_MAC_ID                1
00066 #define ABP_NWETN_IA_PORT1_MAC_ID          2
00067 #define ABP_NWETN_IA_PORT2_MAC_ID          3
00068 
00069 
00070 /*------------------------------------------------------------------------------
00071 **
00072 ** The data size of the Anybus-CC Network Ethernet Object instance attributes
00073 ** (in bytes).
00074 **
00075 **------------------------------------------------------------------------------
00076 */
00077 
00078 #define ABP_NWETN_IA_MAC_ID_DS               ( 6 * ABP_UINT8_SIZEOF )
00079 #define ABP_NWETN_IA_PORT1_MAC_ID_DS         ( 6 * ABP_UINT8_SIZEOF )
00080 #define ABP_NWETN_IA_PORT2_MAC_ID_DS         ( 6 * ABP_UINT8_SIZEOF )
00081 
00082 #endif  /* inclusion lock */
00083 
00084 /*******************************************************************************
00085 **
00086 ** End of abp_nwetn.h
00087 **
00088 ********************************************************************************
00089 */