Lines Matching refs:pTmrHw

96 	pTmrHw[timerId].LoadValue = 0;  in ResetTimer()
97 pTmrHw[timerId].CurrentValue = 0xFFFFFFFF; in ResetTimer()
98 pTmrHw[timerId].Control = 0; in ResetTimer()
99 pTmrHw[timerId].BackgroundLoad = 0; in ResetTimer()
101 pTmrHw[timerId].Control |= tmrHw_CONTROL_32BIT; in ResetTimer()
103 if (pTmrHw[timerId].RawInterruptStatus) { in ResetTimer()
104 pTmrHw[timerId].InterruptClear = 0xFFFFFFFF; in ResetTimer()
125 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_1; in SetTimerPeriod()
128 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_16; in SetTimerPeriod()
131 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_256; in SetTimerPeriod()
139 pTmrHw[timerId].LoadValue = count; in SetTimerPeriod()
140 pTmrHw[timerId].BackgroundLoad = count; in SetTimerPeriod()
144 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_1; in SetTimerPeriod()
147 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_16; in SetTimerPeriod()
150 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_256; in SetTimerPeriod()
158 pTmrHw[timerId].LoadValue = count; in SetTimerPeriod()
159 pTmrHw[timerId].BackgroundLoad = count; in SetTimerPeriod()
184 pTmrHw[timerId].Control |= tmrHw_CONTROL_PERIODIC; in tmrHw_setPeriodicTimerRate()
185 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_ONESHOT; in tmrHw_setPeriodicTimerRate()
187 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_1; in tmrHw_setPeriodicTimerRate()
206 pTmrHw[timerId].LoadValue = count; in tmrHw_setPeriodicTimerRate()
207 pTmrHw[timerId].BackgroundLoad = count; in tmrHw_setPeriodicTimerRate()
231 pTmrHw[timerId].Control |= tmrHw_CONTROL_PERIODIC; in tmrHw_setPeriodicTimerInterval()
232 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_ONESHOT; in tmrHw_setPeriodicTimerInterval()
256 pTmrHw[timerId].Control |= tmrHw_CONTROL_PERIODIC; in tmrHw_setOneshotTimerInterval()
257 pTmrHw[timerId].Control |= tmrHw_CONTROL_ONESHOT; in tmrHw_setOneshotTimerInterval()
279 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_PERIODIC; in tmrHw_setFreeRunningTimer()
280 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_ONESHOT; in tmrHw_setFreeRunningTimer()
283 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_256; in tmrHw_setFreeRunningTimer()
286 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_16; in tmrHw_setFreeRunningTimer()
289 pTmrHw[timerId].Control |= tmrHw_CONTROL_PRESCALE_1; in tmrHw_setFreeRunningTimer()
315 pTmrHw[timerId].Control |= tmrHw_CONTROL_TIMER_ENABLE; in tmrHw_startTimer()
332 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_TIMER_ENABLE; in tmrHw_stopTimer()
349 switch (pTmrHw[timerId].Control & tmrHw_CONTROL_MODE_MASK) { in tmrHw_GetCurrentCount()
351 if (pTmrHw[timerId].CurrentValue) { in tmrHw_GetCurrentCount()
352 return tmrHw_MAX_COUNT - pTmrHw[timerId].CurrentValue; in tmrHw_GetCurrentCount()
357 return pTmrHw[timerId].BackgroundLoad - in tmrHw_GetCurrentCount()
358 pTmrHw[timerId].CurrentValue; in tmrHw_GetCurrentCount()
377 switch (pTmrHw[timerId].Control & tmrHw_CONTROL_PRESCALE_MASK) { in tmrHw_getCountRate()
411 pTmrHw[timerId].Control |= tmrHw_CONTROL_INTERRUPT_ENABLE; in tmrHw_enableInterrupt()
426 pTmrHw[timerId].Control &= ~tmrHw_CONTROL_INTERRUPT_ENABLE; in tmrHw_disableInterrupt()
443 pTmrHw[timerId].InterruptClear = 0x1; in tmrHw_clearInterrupt()
457 if (pTmrHw[timerId].InterruptStatus) { in tmrHw_getInterruptStatus()
481 if (pTmrHw[i].InterruptStatus) { in tmrHw_getInterruptSource()
503 pTmrHw[timerId].LoadValue); in tmrHw_printDebugInfo()
505 pTmrHw[timerId].BackgroundLoad); in tmrHw_printDebugInfo()
507 pTmrHw[timerId].Control); in tmrHw_printDebugInfo()
509 pTmrHw[timerId].InterruptClear); in tmrHw_printDebugInfo()
511 pTmrHw[timerId].RawInterruptStatus); in tmrHw_printDebugInfo()
513 pTmrHw[timerId].InterruptStatus); in tmrHw_printDebugInfo()