Lines Matching refs:OS_TIMER_CLOCK
556 #define OS_TIMER_CLOCK (OS_BUS_CLOCK/4) macro
566 #ifndef OS_TIMER_CLOCK
567 #define OS_TIMER_CLOCK (OS_BUS_CLOCK/4) macro
570 #define OSTicksToCycles( ticks ) (((ticks) * ((OS_CORE_CLOCK * 2) / OS_TIMER_CLOCK)) / 2)
571 #define OSTicksToSeconds( ticks ) ((ticks) / OS_TIMER_CLOCK)
572 #define OSTicksToMilliseconds( ticks ) ((ticks) / (OS_TIMER_CLOCK / 1000))
573 #define OSTicksToMicroseconds( ticks ) (((ticks) * 8) / (OS_TIMER_CLOCK / 125000))
574 #define OSTicksToNanoseconds( ticks ) (((ticks) * 8000) / (OS_TIMER_CLOCK / 125000))
575 #define OSSecondsToTicks( sec ) ((sec) * OS_TIMER_CLOCK)
576 #define OSMillisecondsToTicks( msec ) ((msec) * (OS_TIMER_CLOCK / 1000))
577 #define OSMicrosecondsToTicks( usec ) (((usec) * (OS_TIMER_CLOCK / 125000)) / 8)
578 #define OSNanosecondsToTicks( nsec ) (((nsec) * (OS_TIMER_CLOCK / 125000)) / 8000)