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

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

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

#ifndef ICO_TIME_H
#define ICO_TIME_H 1

#ifdef CO_EVENT_DYNAMIC_TIME
# ifdef CO_EVENT_PROFILE_TIME
#  define CO_EVENT_TIME_CNT	(CO_EVENT_DYNAMIC_TIME + CO_EVENT_PROFILE_TIME)
# else /* CO_EVENT_PROFILE_TIME */
#  define CO_EVENT_TIME_CNT	(CO_EVENT_DYNAMIC_TIME)
# endif /* CO_EVENT_PROFILE_TIME */
#else /* CO_EVENT_DYNAMIC_TIME */
# ifdef CO_EVENT_PROFILE_TIME
#  define CO_EVENT_TIME_CNT	(CO_EVENT_PROFILE_TIME)
# endif /* CO_EVENT_PROFILE_TIME */
#endif /* CO_EVENT_DYNAMIC_TIME */


/* datatypes */

/* function prototypes */

void	icoTimeReset(void);
void	icoTimeSetDefaultValue(void);
void	*icoTimeGetObjectAddr(void);
RET_T	icoTimeCheckObjLimit_u32(UNSIGNED32	value);
RET_T	icoTimeObjChanged(void);
void	icoTimeHandler(const UNSIGNED8 *pData);
void	icoTimeVarInit(void);

#endif /* ICO_TIME_H */

