From ba938b8d7d7d8dde2899e9428b752339d32190c2 Mon Sep 17 00:00:00 2001 From: Thomas Doerfler Date: Fri, 18 Sep 2009 08:05:40 +0000 Subject: Changes throughout. --- c/src/lib/libbsp/arm/lpc24xx/include/io.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/arm/lpc24xx/include/io.h') diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/io.h b/c/src/lib/libbsp/arm/lpc24xx/include/io.h index c40d29e631..ac107ff0fa 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/include/io.h +++ b/c/src/lib/libbsp/arm/lpc24xx/include/io.h @@ -1,9 +1,9 @@ /** * @file * - * @ingroup lpc24xx + * @ingroup lpc24xx_io * - * Input and output module. + * @brief Input and output module. */ /* @@ -30,6 +30,16 @@ extern "C" { #endif /* __cplusplus */ +/** + * @defgroup lpc24xx_io IO Support and Configuration + * + * @ingroup lpc24xx + * + * @brief Input and output module. + * + * @{ + */ + #define LPC24XX_IO_PORT_COUNT 5U #define LPC24XX_IO_INDEX_MAX (LPC24XX_IO_PORT_COUNT * 32U) @@ -64,7 +74,7 @@ typedef enum { LPC24XX_MODULE_UART, LPC24XX_MODULE_USB, LPC24XX_MODULE_WDT, - LPC24XX_MODULE_NUMBER + LPC24XX_MODULE_COUNT } lpc24xx_module; typedef enum { @@ -159,6 +169,8 @@ static inline bool lpc24xx_gpio_get( unsigned index) } } +/** @} */ + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3