Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
abp_mdd.h
00001 /******************************************************************************* 00002 ******************************************************************************** 00003 ** ** 00004 ** ABP version 7.16.01 (2015-10-14) ** 00005 ** */ 00006 /******************************************************************************* 00007 ******************************************************************************** 00008 ** COPYRIGHT NOTIFICATION (c) 2014 HMS Industrial Networks AB ** 00009 ** ** 00010 ** This code is the property of HMS Industrial Networks AB. ** 00011 ** The source code may not be reproduced, distributed, or used without ** 00012 ** permission. When used together with a product from HMS, permission is ** 00013 ** granted to modify, reproduce and distribute the code in binary form ** 00014 ** without any restrictions. ** 00015 ** ** 00016 ** THE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. HMS DOES NOT ** 00017 ** WARRANT THAT THE FUNCTIONS OF THE CODE WILL MEET YOUR REQUIREMENTS, OR ** 00018 ** THAT THE OPERATION OF THE CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR ** 00019 ** THAT DEFECTS IN IT CAN BE CORRECTED. ** 00020 00021 ******************************************************************************** 00022 ******************************************************************************** 00023 ** This file contains Modular Device Object specific definitions used by 00024 ** ABCC modules as well as applications designed to use such modules. 00025 ******************************************************************************** 00026 ******************************************************************************** 00027 */ 00028 00029 #ifndef ABP_MDD_H_ 00030 #define ABP_MDD_H_ 00031 00032 #include "abp.h" 00033 00034 /*------------------------------------------------------------------------------ 00035 ** The Modular Device object specific object attributes. 00036 ** 00037 ** ABP_MDD_OA_NUM_SLOTS - Number of available slots in the backplane, 00038 ** including the coupler. 00039 ** ABP_MDD_OA_NUM_ADIS_PER_SLOT - Number of ADIs each slot occupies. 00040 **------------------------------------------------------------------------------ 00041 */ 00042 #define ABP_MDD_OA_NUM_SLOTS 11 00043 #define ABP_MDD_OA_NUM_ADIS_PER_SLOT 12 00044 00045 /*------------------------------------------------------------------------------ 00046 ** The data size of the Modular Device object specific attributes 00047 ** (in bytes). 00048 **------------------------------------------------------------------------------ 00049 */ 00050 #define ABP_MDD_OA_NUM_SLOTS_DS ABP_UINT16_SIZEOF 00051 #define ABP_MDD_OA_NUM_ADIS_PER_SLOT_DS ABP_UINT16_SIZEOF 00052 00053 /*------------------------------------------------------------------------------ 00054 ** The Modular Device object specific message commands. 00055 **------------------------------------------------------------------------------ 00056 */ 00057 #define ABP_MDD_CMD_GET_LIST 0x15 00058 00059 /*------------------------------------------------------------------------------ 00060 ** Valid list types for the Get_List command. 00061 **------------------------------------------------------------------------------ 00062 */ 00063 #define ABP_MDD_LIST_TYPE_ALL_MODULE_IDS 0x01 00064 00065 #endif /* inclusion lock */
Generated on Tue Jul 12 2022 15:51:57 by
