Line | |
---|
1 | #include "target_timer.h"
|
---|
2 |
|
---|
3 | #ifdef USE_SYSTICK_AS_TIMETICK
|
---|
4 | INCLUDE("core_timer.cfg");
|
---|
5 | #else /* !USE_SYSTICK_AS_TIMETICK */
|
---|
6 | #ifdef USE_TIM_AS_HRT
|
---|
7 | ATT_INI({ TA_NULL, 0, target_hrt_initialize });
|
---|
8 | ATT_TER({ TA_NULL, 0, target_hrt_terminate });
|
---|
9 | CFG_INT(INTNO_TIMER, { TA_ENAINT|INTATR_TIMER, INTPRI_TIMER });
|
---|
10 | DEF_INH(INHNO_TIMER, { TA_NULL, target_hrt_handler });
|
---|
11 | #endif /* USE_TIM_AS_HRT */
|
---|
12 | #endif /* USE_SYSTICK_AS_TIMETICK */
|
---|
13 |
|
---|
14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.