/*
* ico_mapping.h - contains internal defines
*
* Copyright (c) 2017-2022 emotas embedded communication GmbH
*
*-------------------------------------------------------------------
* $Id: ico_mapping.h 47218 2023-06-13 12:41:37Z boe $
*
*-------------------------------------------------------------------
*
*
*
*/

/**
* \file
* \brief mapping defines
*/

#ifndef ICORE_MAPPING_H
#define ICORE_MAPPING_H 1

/* datatypes */
#include <co_datatype.h>


/* function prototypes */
EXTERN_DECL RET_T ico_transmitMap(UNSIGNED16 mapNr,
		const void *pVar, CORE_DATA_TYPE_T dType, UNSIGNED32 mapEntryLen,
		UNSIGNED8 buf[], UNSIGNED16 bufLen, UNSIGNED32 bufOffs);

EXTERN_DECL BOOL_T ico_receiveUnmap(const UNSIGNED16 mapNr,
		void *pVar, const CORE_DATA_TYPE_T dType, const UNSIGNED32 mapLen,
		const UNSIGNED8	buf[], UNSIGNED32 bufStart, UNSIGNED32 bufEnd);

#endif /* ICORE_MAPPING_H */
