summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-17 18:44:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-17 18:44:34 +0000
commit2329a560c03845b21f525cf269106bae13b1039e (patch)
treeb0219411a526eb8b4de118a978a0ee6bb31ac67d /nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c
parent7fd98a9d90f01172ce456487219ce9e10814fafc (diff)
downloadpx4-nuttx-2329a560c03845b21f525cf269106bae13b1039e.tar.gz
px4-nuttx-2329a560c03845b21f525cf269106bae13b1039e.tar.bz2
px4-nuttx-2329a560c03845b21f525cf269106bae13b1039e.zip
Update lpc214x stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@923 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c')
-rw-r--r--nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c b/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c
index 8308200ba..618e9b15d 100644
--- a/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c
+++ b/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c
@@ -1,7 +1,7 @@
-/************************************************************
- * lpc214x/lpc214x_timerisr.c
+/****************************************************************************
+ * arch/arm/src/lpc214x/lpc214x_timerisr.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -50,9 +50,9 @@
#include "lpc214x_timer.h"
#include "lpc214x_vic.h"
-/************************************************************
+/****************************************************************************
* Definitions
- ************************************************************/
+ ****************************************************************************/
#define PCLKFREQ (LPC214X_FOSC/4) /* PCLK must be FOSC/4 */
@@ -64,26 +64,26 @@
#define tmr_putreg16(o,v) putreg16((v), LPC214X_TMR0_BASE+(o))
#define tmr_putreg32(o,v) putreg32((v), LPC214X_TMR0_BASE+(o))
-/************************************************************
+/****************************************************************************
* Private Types
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Function Prototypes
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Global Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Function: up_timerisr
*
* Description:
* The timer ISR will perform a variety of services for
* various portions of the systems.
*
- ************************************************************/
+ ****************************************************************************/
#ifdef CONFIG_VECTORED_INTERRUPTS
int up_timerisr(uint32 *regs)
@@ -107,14 +107,14 @@ int up_timerisr(int irq, uint32 *regs)
return 0;
}
-/************************************************************
+/****************************************************************************
* Function: up_timerinit
*
* Description:
* This function is called during start-up to initialize
* the timer interrupt.
*
- ************************************************************/
+ ****************************************************************************/
void up_timerinit(void)
{