From 7917cf09e78636699ddea076d049324c9c303294 Mon Sep 17 00:00:00 2001 From: weety Date: Mon, 18 Mar 2013 16:42:29 +0800 Subject: remain the old handler to keep forward compatibility --- include/rtthread.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/rtthread.h') 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 */ -- cgit v1.3.1