#ifndef Delay_LIB_H_
#define Delay_LIB_H_

/* #define Platform_16Bit
 #define Platform_32Bit*/
#ifdef Platform_16Bit
    #define Delaylib_uint8_t  unsigned char
    #define Delaylib_uint16_t unsigned int
    #define Delaylib_uint32_t unsigned long

#else
    #define Delaylib_uint8_t  unsigned char
    #define Delaylib_uint16_t unsigned short
    #define Delaylib_uint32_t unsigned int
    #define Delaylib_uint64_t unsigned long long
#endif

extern void              GenDelay_Tick(void);
extern void              Gen_TimeDelay(const Delaylib_uint32_t delay, const Delaylib_uint32_t TickBase);
extern Delaylib_uint32_t OSIF_GetMilliseconds(const Delaylib_uint32_t TickBase);

#endif