mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 15:37:23 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue