Browse Source

Modified the interrupt function comments

weety 12 years ago
parent
commit
9678ee67e9
1 changed files with 5 additions and 3 deletions
  1. 5 3
      libcpu/arm/at91sam926x/interrupt.c

+ 5 - 3
libcpu/arm/at91sam926x/interrupt.c

@@ -305,10 +305,12 @@ void rt_hw_interrupt_umask(int irq)
 /**
  * This function will install a interrupt service routine to a interrupt.
  * @param vector the interrupt number
- * @param new_handler the interrupt service routine to be installed
- * @param old_handler the old interrupt service routine
+ * @param handler the interrupt service routine to be installed
+ * @param param the interrupt service function parameter
+ * @param name the interrupt name
  */
-void rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, char *name)
+void rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, 
+									void *param, char *name)
 {
 	if(vector < MAX_HANDLERS)
 	{