diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-11-12 15:02:23 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-11-12 15:02:23 +0000 |
commit | a7ad3ace523d19be103e03f6244e0e797354fe0f (patch) | |
tree | 62234f13c1fcb3477d16f5727b60503900b87f7f /ports/ARM7-LPC214x | |
parent | 48cdf91217fd6460628315a63ccc9e87de21c193 (diff) | |
download | ChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.tar.gz ChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.tar.bz2 ChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@87 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-LPC214x')
-rw-r--r-- | ports/ARM7-LPC214x/GCC/lpc214x_serial.h | 14 | ||||
-rw-r--r-- | ports/ARM7-LPC214x/GCC/lpc214x_ssp.h | 18 | ||||
-rw-r--r-- | ports/ARM7-LPC214x/GCC/vic.h | 10 |
3 files changed, 30 insertions, 12 deletions
diff --git a/ports/ARM7-LPC214x/GCC/lpc214x_serial.h b/ports/ARM7-LPC214x/GCC/lpc214x_serial.h index 1ee910b4a..2d82817cb 100644 --- a/ports/ARM7-LPC214x/GCC/lpc214x_serial.h +++ b/ports/ARM7-LPC214x/GCC/lpc214x_serial.h @@ -37,10 +37,16 @@ */
#define SERIAL_BUFFERS_SIZE 128
-void InitSerial(void);
-void SetUARTI(UART *u, int speed, int lcr, int fcr);
-void UART0IrqHandler(void);
-void UART1IrqHandler(void);
+#ifdef __cplusplus
+}
+#endif
+ void InitSerial(void);
+ void UART0IrqHandler(void);
+ void UART1IrqHandler(void);
+ void SetUARTI(UART *u, int speed, int lcr, int fcr);
+#ifdef __cplusplus
+}
+#endif
extern FullDuplexDriver COM1, COM2;
diff --git a/ports/ARM7-LPC214x/GCC/lpc214x_ssp.h b/ports/ARM7-LPC214x/GCC/lpc214x_ssp.h index c7b4bcbdd..07401d173 100644 --- a/ports/ARM7-LPC214x/GCC/lpc214x_ssp.h +++ b/ports/ARM7-LPC214x/GCC/lpc214x_ssp.h @@ -26,11 +26,17 @@ */
#define SSP_USE_MUTEX
-void InitSSP(void);
-void SetSSP(int cpsr, int cr0, int cr1);
-
-void sspAcquireBus(void);
-void sspReleaseBus(void);
-void sspRW(BYTE8 *in, BYTE8 *out, t_size n);
+#ifdef __cplusplus
+}
+#endif
+ void InitSSP(void);
+ void SetSSP(int cpsr, int cr0, int cr1);
+
+ void sspAcquireBus(void);
+ void sspReleaseBus(void);
+ void sspRW(BYTE8 *in, BYTE8 *out, t_size n);
+#ifdef __cplusplus
+}
+#endif
#endif /* _LPC214x_SSP_H_*/
diff --git a/ports/ARM7-LPC214x/GCC/vic.h b/ports/ARM7-LPC214x/GCC/vic.h index cbcb525fc..9d8ba93ad 100644 --- a/ports/ARM7-LPC214x/GCC/vic.h +++ b/ports/ARM7-LPC214x/GCC/vic.h @@ -20,7 +20,13 @@ #ifndef _VIC_H_
#define _VIC_H_
-void InitVIC(void);
-void SetVICVector(void *handler, int vector, int source);
+#ifdef __cplusplus
+}
+#endif
+ void InitVIC(void);
+ void SetVICVector(void *handler, int vector, int source);
+#ifdef __cplusplus
+}
+#endif
#endif /* _VIC_H_*/
|