Lines Matching refs:preScale
26 #define OSi_TIMER_MASK(preScale) ((u16)(OSi_TM_E_MASK | OSi_TM_I_MASK | (preScale))) argument
101 void OS_StartTimer(OSTimer id, u16 count, OSTimerPrescaler preScale) in OS_StartTimer() argument
104 SDK_ASSERT(OS_TIMER_PRESCALER_1 <= preScale && preScale <= OS_TIMER_PRESCALER_1024); in OS_StartTimer()
112 OS_SetTimerControl(id, OSi_TIMER_MASK(preScale)); in OS_StartTimer()
117 void OS_StartTimer32(OSTimer32 id, u32 count, OSTimerPrescaler preScale) in OS_StartTimer32() argument
120 SDK_ASSERT(OS_TIMER_PRESCALER_1 <= preScale && preScale <= OS_TIMER_PRESCALER_1024); in OS_StartTimer32()
134 OS_SetTimerControl((OSTimer)id, OSi_TIMER_MASK(preScale)); in OS_StartTimer32()
139 void OS_StartTimer48(OSTimer48 id, u64 count, OSTimerPrescaler preScale) in OS_StartTimer48() argument
142 SDK_ASSERT(OS_TIMER_PRESCALER_1 <= preScale && preScale <= OS_TIMER_PRESCALER_1024); in OS_StartTimer48()
160 OS_SetTimerControl((OSTimer)id, OSi_TIMER_MASK(preScale)); in OS_StartTimer48()
165 void OS_StartTimer64(u64 count, OSTimerPrescaler preScale) in OS_StartTimer64() argument
167 SDK_ASSERT(OS_TIMER_PRESCALER_1 <= preScale && preScale <= OS_TIMER_PRESCALER_1024); in OS_StartTimer64()
189 OS_SetTimerControl(OS_TIMER_0, OSi_TIMER_MASK(preScale)); in OS_StartTimer64()