ConOpSys V2970
P004.07
ANVILEX control operating system
|
Go to the source code of this file.
Functions | |
EXTFUNC APPL_ErrCodeType | AD_Init (const AD_AdiEntryType *psAdiEntry, U16 iNumAdi, const AD_DefaultMapType *psDefaultMap) |
EXTFUNC U16 | AD_AdiMappingReq (const AD_AdiEntryType **ppsAdiEntry, const AD_DefaultMapType **ppsDefaultMap) |
EXTFUNC void | AD_ProcObjectRequest (ABP_MsgType *psMsgBuffer) |
EXTFUNC void | AD_UpdatePdReadData (void *pxPdDataBuf) |
EXTFUNC BOOL | AD_UpdatePdWriteData (void *pxPdDataBuf) |
EXTFUNC U16 AD_AdiMappingReq | ( | const AD_AdiEntryType ** | ppsAdiEntry, |
const AD_DefaultMapType ** | ppsDefaultMap | ||
) |
References ad_iNumOfADIs.
EXTFUNC APPL_ErrCodeType AD_Init | ( | const AD_AdiEntryType * | psAdiEntry, |
U16 | iNumAdi, | ||
const AD_DefaultMapType * | psDefaultMap | ||
) |
References ABCC_CFG_MAX_PROCESS_DATA_SIZE, ad_asADIEntryList, ad_asDefaultMap, ad_iHighestInstanceNumber, ad_iNumOfADIs, AD_INVALID_ADI_INDEX, AD_MAP_PAD_INDEX, AD_MAX_NUM_READ_MAP_ENTRIES, AD_MAX_NUM_WRITE_MAP_ENTRIES, ad_PdReadMapping, ad_PdWriteMapping, ad_ReadMapInfo, ad_WriteMapInfo, APPL_AD_PD_READ_SIZE_ERR, APPL_AD_PD_WRITE_SIZE_ERR, APPL_AD_TOO_MANY_READ_MAPPINGS, APPL_AD_TOO_MANY_WRITE_MAPPINGS, APPL_AD_UNKNOWN_ADI, APPL_NO_ERROR, ad_Map::bNumElements, ad_Map::bStartIndex, GetAdiIndex(), ad_Map::iAdiIndex, ad_MapInfo::iMaxNumMappedAdi, ad_MapInfo::iNumMappedAdi, ad_MapInfo::iPdSize, NULL, ad_MapInfo::paiMappedAdiList, and UpdateMapSize().
EXTFUNC void AD_ProcObjectRequest | ( | ABP_MsgType * | psMsgBuffer | ) |
References AD_ALL_ADI_INDEX, ad_asADIEntryList, AD_GetAdiInstEntry(), ad_iNumOfADIs, ad_ReadMapInfo, ad_WriteMapInfo, GetAdiSizeInOctets(), GetAdiValue(), NULL, SetAdiValue(), and SizeInOctets.
Referenced by ABCC_CbfReceiveMsg().
EXTFUNC void AD_UpdatePdReadData | ( | void * | pxPdDataBuf | ) |
References ad_asADIEntryList, ad_iNumOfADIs, AD_MAP_PAD_INDEX, ad_ReadMapInfo, ad_Map::bNumElements, ad_Map::bStartIndex, ad_Map::iAdiIndex, ad_MapInfo::iNumMappedAdi, ad_MapInfo::paiMappedAdiList, and SetAdiValue().
References ad_asADIEntryList, ad_iNumOfADIs, AD_MAP_PAD_INDEX, ad_WriteMapInfo, ad_Map::bNumElements, ad_Map::bStartIndex, GetAdiValue(), ad_Map::iAdiIndex, ad_MapInfo::iNumMappedAdi, and ad_MapInfo::paiMappedAdiList.