diff options
| author | weety <[email protected]> | 2013-03-18 16:42:29 +0800 |
|---|---|---|
| committer | weety <[email protected]> | 2013-03-19 11:25:46 +0800 |
| commit | 7917cf09e78636699ddea076d049324c9c303294 (patch) | |
| tree | e9db2dbeb89e835d853ebb4b6f124cbe9d6c92f4 /include/rtthread.h | |
| parent | 9678ee67e94483e68caf018a10486e411861a178 (diff) | |
remain the old handler to keep forward compatibility
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 53111b8465..dbe48b492e 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -427,6 +427,14 @@ void rt_module_unload_sethook(void (*hook)(rt_module_t module)); */ typedef void (*rt_isr_handler_t)(int vector, void *param); +struct rt_irq_desc { + char irq_name[RT_NAME_MAX]; + rt_isr_handler_t isr_handle; + void *param; + rt_uint32_t interrupt_cnt; +}; + + /* * rt_interrupt_enter and rt_interrupt_leave only can be called by BSP */ |
