Set Timer's IRQ Level/Mode during init
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
parent
9ed14b0924
commit
900ea68c41
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user