/*
* ico_srd.h - contains defines for srd services
*
* Copyright (c) 2015-2019 emotas embedded communication GmbH
*
*-------------------------------------------------------------------
* $Id: ico_srd.h 48618 2023-08-28 14:17:15Z boe $

*-------------------------------------------------------------------
*
*
*/

/**
* \file
* \brief dataty type header
*/

#ifndef ICO_SRD_H
#define ICO_SRD_H 1


#ifdef CO_EVENT_DYNAMIC_SRD
# ifdef CO_EVENT_PROFILE_SRD
#  define CO_EVENT_SRD_CNT	(CO_EVENT_DYNAMIC_SRD + CO_EVENT_PROFILE_SRD)
# else /* CO_EVENT_PROFILE_SRD */
#  define CO_EVENT_SRD_CNT	(CO_EVENT_DYNAMIC_SRD)
# endif /* CO_EVENT_PROFILE_SRD */
#else /* CO_EVENT_DYNAMIC_SRD */
# ifdef CO_EVENT_PROFILE_SRD
#  define CO_EVENT_SRD_CNT	(CO_EVENT_PROFILE_SRD)
# endif /* CO_EVENT_PROFILE_SRD */
#endif /* CO_EVENT_DYNAMIC_SRD */


/* datatypes */

/* function prototypes */

void icoSrdReset(void);
void *icoSrdGetObjectAddr(UNSIGNED16 idx);
RET_T icoSrdCheckObjLimit_u32(UNSIGNED32 value);
void icoSrdVarInit(void);


#endif /* ICO_SRD_H */

