Searched refs:preScale (Results 1 – 2 of 2) sorted by relevance
| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_timer.c | 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() [all …]
|
| /TwlSDK-5.1.0/include/nitro/os/common/ |
| D | timer.h | 120 void OS_StartTimer(OSTimer id, u16 count, OSTimerPrescaler preScale); 124 void OS_StartTimer32(OSTimer32 id, u32 count, OSTimerPrescaler preScale); 128 void OS_StartTimer48(OSTimer48 id, u64 count, OSTimerPrescaler preScale); 132 void OS_StartTimer64(u64 count, OSTimerPrescaler preScale);
|