summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorweety <[email protected]>2013-03-17 11:24:07 +0800
committerweety <[email protected]>2013-03-19 11:25:33 +0800
commit9678ee67e94483e68caf018a10486e411861a178 (patch)
tree43fef3f580d3582b4b7fce2c39edf381cfad640f /libcpu
parentb21028474b07f0a17d1c0559e96df0253c787bcd (diff)
Modified the interrupt function comments
Diffstat (limited to 'libcpu')
-rwxr-xr-xlibcpu/arm/at91sam926x/interrupt.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcpu/arm/at91sam926x/interrupt.c b/libcpu/arm/at91sam926x/interrupt.c
index bcf5fe93d1..206444b3aa 100755
--- a/libcpu/arm/at91sam926x/interrupt.c
+++ b/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)
{