Lines Matching refs:handle
64 void TimerCC32XX_close(Timer_Handle handle);
65 int_fast16_t TimerCC32XX_control(Timer_Handle handle,
67 uint32_t TimerCC32XX_getCount(Timer_Handle handle);
68 void TimerCC32XX_init(Timer_Handle handle);
69 Timer_Handle TimerCC32XX_open(Timer_Handle handle, Timer_Params *params);
70 int32_t TimerCC32XX_setPeriod(Timer_Handle handle, Timer_PeriodUnits periodUnits, uint32_t period);
71 int32_t TimerCC32XX_start(Timer_Handle handle);
72 void TimerCC32XX_stop(Timer_Handle handle);
75 static void initHw(Timer_Handle handle);
76 static void getPrescaler(Timer_Handle handle);
115 static void initHw(Timer_Handle handle) in initHw() argument
117 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in initHw()
118 TimerCC32XX_Object const *object = handle->object; in initHw()
163 static void getPrescaler(Timer_Handle handle) in getPrescaler() argument
165 TimerCC32XX_Object *object = handle->object; in getPrescaler()
289 void TimerCC32XX_close(Timer_Handle handle) in TimerCC32XX_close() argument
291 TimerCC32XX_Object *object = handle->object; in TimerCC32XX_close()
292 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in TimerCC32XX_close()
295 TimerCC32XX_stop(handle); in TimerCC32XX_close()
318 int_fast16_t TimerCC32XX_control(Timer_Handle handle, in TimerCC32XX_control() argument
347 uint32_t TimerCC32XX_getCount(Timer_Handle handle) in TimerCC32XX_getCount() argument
349 TimerCC32XX_HWAttrs const *hWAttrs = handle->hwAttrs; in TimerCC32XX_getCount()
350 TimerCC32XX_Object const *object = handle->object; in TimerCC32XX_getCount()
371 Timer_Handle handle = (Timer_Handle) arg; in TimerCC32XX_hwiIntFunction() local
372 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in TimerCC32XX_hwiIntFunction()
373 TimerCC32XX_Object const *object = handle->object; in TimerCC32XX_hwiIntFunction()
382 TimerCC32XX_stop(handle); in TimerCC32XX_hwiIntFunction()
386 object->callBack(handle, Timer_STATUS_SUCCESS); in TimerCC32XX_hwiIntFunction()
393 void TimerCC32XX_init(Timer_Handle handle) in TimerCC32XX_init() argument
401 Timer_Handle TimerCC32XX_open(Timer_Handle handle, Timer_Params *params) in TimerCC32XX_open() argument
403 TimerCC32XX_Object *object = handle->object; in TimerCC32XX_open()
404 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in TimerCC32XX_open()
425 postNotifyFxn, (uintptr_t) handle); in TimerCC32XX_open()
445 hwiParams.arg = (uintptr_t) handle; in TimerCC32XX_open()
452 TimerCC32XX_close(handle); in TimerCC32XX_open()
468 TimerCC32XX_close(handle); in TimerCC32XX_open()
482 TimerCC32XX_close(handle); in TimerCC32XX_open()
494 TimerCC32XX_close(handle); in TimerCC32XX_open()
508 TimerCC32XX_close(handle); in TimerCC32XX_open()
513 getPrescaler(handle); in TimerCC32XX_open()
517 initHw(handle); in TimerCC32XX_open()
519 return (handle); in TimerCC32XX_open()
525 int32_t TimerCC32XX_setPeriod(Timer_Handle handle, Timer_PeriodUnits periodUnits, uint32_t period) in TimerCC32XX_setPeriod() argument
527 TimerCC32XX_HWAttrs const *hwAttrs= handle->hwAttrs; in TimerCC32XX_setPeriod()
528 TimerCC32XX_Object *object = handle->object; in TimerCC32XX_setPeriod()
569 getPrescaler(handle); in TimerCC32XX_setPeriod()
584 int32_t TimerCC32XX_start(Timer_Handle handle) in TimerCC32XX_start() argument
586 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in TimerCC32XX_start()
587 TimerCC32XX_Object *object = handle->object; in TimerCC32XX_start()
635 void TimerCC32XX_stop(Timer_Handle handle) in TimerCC32XX_stop() argument
637 TimerCC32XX_HWAttrs const *hwAttrs = handle->hwAttrs; in TimerCC32XX_stop()
638 TimerCC32XX_Object *object = handle->object; in TimerCC32XX_stop()