Lines Matching refs:timer
25 timer_t *timer = (timer_t *) TIMER_PPTR; variable
34 timer->cfg = TIOCP_CFG_SOFTRESET; in initTimer()
37 timer->tclr = 0; in initTimer()
40 while (!timer->tistat); in initTimer()
45 timer->tldr = 0u; in initTimer()
48 timer->tier |= (TIER_OVERFLOWENABLE | TIER_MATCHENABLE); in initTimer()
51 timer->tcrr = 0u; in initTimer()
54 timer->tclr = TCLR_AUTORELOAD | TCLR_STARTTIMER | TCLR_COMPAREENABLE; in initTimer()
61 timer->cfg = TIOCP_CFG_SOFTRESET; in initTimer()
63 while (!timer->tistat); in initTimer()
68 timer->tldr = 0xFFFFFFFFUL - TIMER_RELOAD; in initTimer()
71 timer->tier = TIER_OVERFLOWENABLE; in initTimer()
74 timer->tcrr = 0xFFFFFFFFUL - TIMER_RELOAD; in initTimer()
77 timer->tclr = TCLR_AUTORELOAD | TCLR_STARTTIMER; in initTimer()