/* Automatically generated header! Do not edit! */

#ifndef __INC_POS_PINLINE_TIMER_H
#define __INC_POS_PINLINE_TIMER_H

#ifndef __INC_POS_PINLINE_MACROS_H
#include <pInline/macros.h>
#endif /* !__INC_POS_PINLINE_MACROS_H */

#ifndef __TIMER_BASE_NAME
#define __TIMER_BASE_NAME gb_TimerBase
#endif /* !__TIMER_BASE_NAME */

#ifndef __TIMER_LIB_NAME
#define __TIMER_LIB_NAME gb_TimerBase
#endif /* !__TIMER_LIB_NAME */

#define pOS_AddTime(par1, par2) \
	__INLINE_FUN_2(__TIMER_BASE_NAME, __TIMER_LIB_NAME, 0x114, VOID, pOS_AddTime, \
	struct pOS_TimeVal*, par1, __INLINE_REG_A0, const struct pOS_TimeVal*, par2, __INLINE_REG_A1)

#define pOS_CmpTime(par1, par2) \
	__INLINE_FUN_2(__TIMER_BASE_NAME, __TIMER_LIB_NAME, 0x12c, SLONG, pOS_CmpTime, \
	const struct pOS_TimeVal*, par1, __INLINE_REG_A0, const struct pOS_TimeVal*, par2, __INLINE_REG_A1)

#define pOS_GetSysTime(par1) \
	__INLINE_FUN_1(__TIMER_BASE_NAME, __TIMER_LIB_NAME, 0x108, VOID, pOS_GetSysTime, \
	struct pOS_TimeVal*, par1, __INLINE_REG_A0)

#define pOS_SubTime(par1, par2) \
	__INLINE_FUN_2(__TIMER_BASE_NAME, __TIMER_LIB_NAME, 0x120, VOID, pOS_SubTime, \
	struct pOS_TimeVal*, par1, __INLINE_REG_A0, const struct pOS_TimeVal*, par2, __INLINE_REG_A1)

#endif /* !__INC_POS_PINLINE_TIMER_H */
