Lines Matching refs:OS_TIMER_CLOCK
561 #define OS_TIMER_CLOCK (OS_BUS_CLOCK/4) macro
571 #ifndef OS_TIMER_CLOCK
572 #define OS_TIMER_CLOCK (OS_BUS_CLOCK/4) macro
575 #define OSTicksToCycles( ticks ) (((ticks) * ((OS_CORE_CLOCK * 2) / OS_TIMER_CLOCK)) / 2)
576 #define OSTicksToSeconds( ticks ) ((ticks) / OS_TIMER_CLOCK)
577 #define OSTicksToMilliseconds( ticks ) ((ticks) / (OS_TIMER_CLOCK / 1000))
578 #define OSTicksToMicroseconds( ticks ) (((ticks) * 8) / (OS_TIMER_CLOCK / 125000))
579 #define OSTicksToNanoseconds( ticks ) (((ticks) * 8000) / (OS_TIMER_CLOCK / 125000))
580 #define OSSecondsToTicks( sec ) ((sec) * OS_TIMER_CLOCK)
581 #define OSMillisecondsToTicks( msec ) ((msec) * (OS_TIMER_CLOCK / 1000))
582 #define OSMicrosecondsToTicks( usec ) (((usec) * (OS_TIMER_CLOCK / 125000)) / 8)
583 #define OSNanosecondsToTicks( nsec ) (((nsec) * (OS_TIMER_CLOCK / 125000)) / 8000)