#ifndef LCLOCK_ARCH_H
#define LCLOCK_ARCH_H

#include <stdint.h>
#include <chip.h>

typedef uint64_t t_lclock_ticks;
#ifdef CHIP_CLK_GTIM_FREQ
    #define LCLOCK_TICKS_PER_SECOND     CHIP_CLK_GTIM_FREQ
#else
    extern t_lclock_ticks g_lclock_tiks_per_sec;
    #define LCLOCK_TICKS_PER_SECOND g_lclock_tiks_per_sec

    #define LCLOCK_TICKS_PER_SECOND_NOT_COMP_DEF
#endif





#endif // LCLOCK_ARCH_H
