Set Timer's IRQ Level/Mode during init

Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
Anton D. Kachalov 2015-07-31 14:10:29 +03:00
parent 9ed14b0924
commit 900ea68c41

View File

@ -149,6 +149,8 @@ void up_timer_initialize(void)
irq_attach(IRQ_SYSTIMER, (xcpt_t)up_timerisr);
up_enable_irq(IRQ_SYSTIMER);
ftintc010_set_trig_mode(IRQ_SYSTIMER, 1);
ftintc010_set_trig_level(IRQ_SYSTIMER, 0);
/* Unmask IRQ */