diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-25 15:28:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-25 15:28:15 +0000 |
commit | dea859c252d1ba02aaead3022b004702679712a6 (patch) | |
tree | 797ad6edd1b85672dcf84d1a476e3312d9bfdf5e /os/hal/platforms/LPC214x | |
parent | f38a21493342f3bd2f7e3371508e4ff280f76fb3 (diff) | |
download | ChibiOS-dea859c252d1ba02aaead3022b004702679712a6.tar.gz ChibiOS-dea859c252d1ba02aaead3022b004702679712a6.tar.bz2 ChibiOS-dea859c252d1ba02aaead3022b004702679712a6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1777 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC214x')
-rw-r--r-- | os/hal/platforms/LPC214x/serial_lld.h | 6 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/spi_lld.h | 4 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/vic.c | 18 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/vic.h | 5 |
4 files changed, 16 insertions, 17 deletions
diff --git a/os/hal/platforms/LPC214x/serial_lld.h b/os/hal/platforms/LPC214x/serial_lld.h index ad93fc953..34da8c8d4 100644 --- a/os/hal/platforms/LPC214x/serial_lld.h +++ b/os/hal/platforms/LPC214x/serial_lld.h @@ -152,11 +152,10 @@ typedef struct { /* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_LPC214x_UART0
+#if USE_LPC214x_UART0 && !defined(__DOXYGEN__)
extern SerialDriver SD1;
#endif
-#if USE_LPC214x_UART1
+#if USE_LPC214x_UART1 && !defined(__DOXYGEN__)
extern SerialDriver SD2;
#endif
@@ -169,7 +168,6 @@ extern "C" { #ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SERIAL */
diff --git a/os/hal/platforms/LPC214x/spi_lld.h b/os/hal/platforms/LPC214x/spi_lld.h index 64719ad9b..cf6a06df4 100644 --- a/os/hal/platforms/LPC214x/spi_lld.h +++ b/os/hal/platforms/LPC214x/spi_lld.h @@ -113,8 +113,7 @@ typedef struct { /* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_LPC214x_SPI1
+#if USE_LPC214x_SPI1 && !defined(__DOXYGEN__)
extern SPIDriver SPID1;
#endif
@@ -134,7 +133,6 @@ extern "C" { #ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SPI */
diff --git a/os/hal/platforms/LPC214x/vic.c b/os/hal/platforms/LPC214x/vic.c index f9b18f887..c4e11231f 100644 --- a/os/hal/platforms/LPC214x/vic.c +++ b/os/hal/platforms/LPC214x/vic.c @@ -18,8 +18,9 @@ */
/**
- * @file LPC214x/vic.c
- * @brief LPC214x VIC peripheral support code.
+ * @file LPC214x/vic.c
+ * @brief LPC214x VIC peripheral support code.
+ *
* @addtogroup LPC214x_VIC
* @{
*/
@@ -27,8 +28,8 @@ #include "ch.h"
/**
- * @brief VIC Initialization.
- * @note Better reset everything in the VIC, it is a HUGE source of trouble.
+ * @brief VIC Initialization.
+ * @note Better reset everything in the VIC, it is a HUGE source of trouble.
*/
void vic_init(void) {
int i;
@@ -45,11 +46,12 @@ void vic_init(void) { }
/**
- * @brief Initializes a VIC vector.
+ * @brief Initializes a VIC vector.
* @details Set a vector for an interrupt source and enables it.
- * @param[in] handler the pointer to the IRQ service routine
- * @param[in] vector the vector number
- * @param[in] source the IRQ source to be associated to the vector
+ *
+ * @param[in] handler the pointer to the IRQ service routine
+ * @param[in] vector the vector number
+ * @param[in] source the IRQ source to be associated to the vector
*/
void SetVICVector(void *handler, int vector, int source) {
diff --git a/os/hal/platforms/LPC214x/vic.h b/os/hal/platforms/LPC214x/vic.h index df4b1b67e..c0fd3ea3e 100644 --- a/os/hal/platforms/LPC214x/vic.h +++ b/os/hal/platforms/LPC214x/vic.h @@ -18,8 +18,9 @@ */
/**
- * @file LPC214x/vic.h
- * @brief LPC214x VIC peripheral support code.
+ * @file LPC214x/vic.h
+ * @brief LPC214x VIC peripheral support header.
+ *
* @addtogroup LPC214x_VIC
* @{
*/
|