From 49c40ba106e8fbea8e67157591eab7bf0c9e9a01 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 30 Aug 2009 08:49:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1136 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/platforms/AT91SAM7X/platform.dox | 6 +++--- os/io/platforms/AT91SAM7X/serial_lld.h | 6 +----- os/io/platforms/AVR/platform.dox | 2 +- os/io/platforms/AVR/serial_lld.h | 6 +----- os/io/platforms/LPC214x/platform.dox | 6 +++--- os/io/platforms/LPC214x/serial_lld.h | 6 +----- os/io/platforms/MSP430/platform.dox | 4 ++-- os/io/platforms/MSP430/serial_lld.h | 6 +----- os/io/platforms/STM32F103/platform.dox | 18 +++++++++--------- os/io/platforms/STM32F103/serial_lld.c | 6 +++--- os/io/platforms/STM32F103/serial_lld.h | 8 ++++---- 11 files changed, 29 insertions(+), 45 deletions(-) (limited to 'os/io/platforms') diff --git a/os/io/platforms/AT91SAM7X/platform.dox b/os/io/platforms/AT91SAM7X/platform.dox index dac6ed181..6176140ad 100644 --- a/os/io/platforms/AT91SAM7X/platform.dox +++ b/os/io/platforms/AT91SAM7X/platform.dox @@ -30,7 +30,7 @@ */ /** - * @defgroup AT91SAM7X_PAL I/O Ports Support + * @defgroup AT91SAM7X_PAL AT91SAM7X I/O Ports Support * @brief I/O Ports peripherals support. * @details This module supports the AT91SAM7X PIO controller. The controller * supports the following features (see @ref PAL): @@ -58,7 +58,7 @@ */ /** - * @defgroup AT91SAM7X_SERIAL USART Support + * @defgroup AT91SAM7X_SERIAL AT91SAM7X USART Support * @brief USART peripherals support. * @details The serial driver supports the AT91SAM7X USART peripherals. * @@ -66,7 +66,7 @@ */ /** - * @defgroup AT91SAM7X_EMAC EMAC Support + * @defgroup AT91SAM7X_EMAC AT91SAM7X EMAC Support * @brief EMAC peripheral support. * * @ingroup AT91SAM7X diff --git a/os/io/platforms/AT91SAM7X/serial_lld.h b/os/io/platforms/AT91SAM7X/serial_lld.h index 639c4055d..41975a524 100644 --- a/os/io/platforms/AT91SAM7X/serial_lld.h +++ b/os/io/platforms/AT91SAM7X/serial_lld.h @@ -120,13 +120,9 @@ struct _serial_driver_data { }; /** - * @brief Generic Serial Driver static initializer. + * @brief AT91SAM7X Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() * in order to configure and start a serial driver operations. - * - * @note This structure content is architecture dependent, each driver - * implementation defines its own version and the custom static - * initializers. */ typedef struct { uint32_t speed; diff --git a/os/io/platforms/AVR/platform.dox b/os/io/platforms/AVR/platform.dox index d41c0aacf..05eb4d76e 100644 --- a/os/io/platforms/AVR/platform.dox +++ b/os/io/platforms/AVR/platform.dox @@ -25,7 +25,7 @@ */ /** - * @defgroup AVR_SERIAL USART Support + * @defgroup AVR_SERIAL AVR USART Support * @brief USART support. * @details The serial driver supports both the AVR USARTs in asynchronous * mode. diff --git a/os/io/platforms/AVR/serial_lld.h b/os/io/platforms/AVR/serial_lld.h index 98e00a841..c1889f8b5 100644 --- a/os/io/platforms/AVR/serial_lld.h +++ b/os/io/platforms/AVR/serial_lld.h @@ -124,13 +124,9 @@ struct _serial_driver_data { #define UBRR(b) ((F_CPU / (b << 4)) - 1) /** - * @brief Generic Serial Driver static initializer. + * @brief AVR Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() * in order to configure and start a serial driver operations. - * - * @note This structure content is architecture dependent, each driver - * implementation defines its own version and the custom static - * initializers. */ typedef struct { uint16_t brr; diff --git a/os/io/platforms/LPC214x/platform.dox b/os/io/platforms/LPC214x/platform.dox index e46ac4328..0f6536e0e 100644 --- a/os/io/platforms/LPC214x/platform.dox +++ b/os/io/platforms/LPC214x/platform.dox @@ -42,7 +42,7 @@ */ /** - * @defgroup LPC214x_PAL I/O Ports Support + * @defgroup LPC214x_PAL LPC214x I/O Ports Support * @brief I/O Ports peripherals support. * @details This module supports the LPC214x FIO controller. The controller * supports the following features (see @ref PAL): @@ -67,7 +67,7 @@ */ /** - * @defgroup LPC214x_SERIAL UART Support + * @defgroup LPC214x_SERIAL LPC214x UART Support * @brief UART peripherals support. * @details The serial driver supports the LPC214x UART peripherals. * @@ -75,7 +75,7 @@ */ /** - * @defgroup LPC214x_SSP SSP Support + * @defgroup LPC214x_SSP LPC214x SSP Support * @brief SSP peripheral support. * @details This SPI driver supports the LPC214x SSP peripheral. * diff --git a/os/io/platforms/LPC214x/serial_lld.h b/os/io/platforms/LPC214x/serial_lld.h index d4bc6d01d..b6ac8e379 100644 --- a/os/io/platforms/LPC214x/serial_lld.h +++ b/os/io/platforms/LPC214x/serial_lld.h @@ -136,13 +136,9 @@ struct _serial_driver_data { }; /** - * @brief Generic Serial Driver static initializer. + * @brief LPC214x Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() * in order to configure and start a serial driver operations. - * - * @note This structure content is architecture dependent, each driver - * implementation defines its own version and the custom static - * initializers. */ typedef struct { uint32_t speed; diff --git a/os/io/platforms/MSP430/platform.dox b/os/io/platforms/MSP430/platform.dox index f840e8b75..22f404ddb 100644 --- a/os/io/platforms/MSP430/platform.dox +++ b/os/io/platforms/MSP430/platform.dox @@ -25,7 +25,7 @@ */ /** - * @defgroup MSP430_PAL I/O Ports Support + * @defgroup MSP430_PAL MSP430 I/O Ports Support * @brief I/O Ports peripherals support. * @details This module supports the MSP430 Digital I/O controller. The * controller supports the following features (see @ref PAL): @@ -51,7 +51,7 @@ */ /** - * @defgroup MSP430_SERIAL USART Support + * @defgroup MSP430_SERIAL MSP430 USART Support * @brief USART support. * @details The serial driver supports both the MSP430 USARTs in asynchronous * mode. diff --git a/os/io/platforms/MSP430/serial_lld.h b/os/io/platforms/MSP430/serial_lld.h index 255376b83..63d94046e 100644 --- a/os/io/platforms/MSP430/serial_lld.h +++ b/os/io/platforms/MSP430/serial_lld.h @@ -121,13 +121,9 @@ struct _serial_driver_data { #define UBR(b) (SMCLK / (b)) /** - * @brief Generic Serial Driver static initializer. + * @brief MSP430 Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() * in order to configure and start a serial driver operations. - * - * @note This structure content is architecture dependent, each driver - * implementation defines its own version and the custom static - * initializers. */ typedef struct { uint16_t div; diff --git a/os/io/platforms/STM32F103/platform.dox b/os/io/platforms/STM32F103/platform.dox index b1828425c..6ec9fbe20 100644 --- a/os/io/platforms/STM32F103/platform.dox +++ b/os/io/platforms/STM32F103/platform.dox @@ -18,9 +18,9 @@ */ /** - * @defgroup STM32F103 STM32F103 Support - * @brief STM32F103 specific support. - * @details The STM32F103 support includes: + * @defgroup STM32 STM32 Support + * @brief STM32 specific support. + * @details The STM32 support includes: * - I/O ports driver. * - Buffered, interrupt driven, serial driver. * - A demo supporting the kernel test suite. @@ -29,9 +29,9 @@ */ /** - * @defgroup STM32F103_PAL I/O Ports Support + * @defgroup STM32_PAL STM32 I/O Ports Support * @brief I/O Ports peripherals support. - * @details This module supports the STM32F103 GPIO controller. The controller + * @details This module supports the STM3 GPIO controller. The controller * supports the following features (see @ref PAL): * - 16 bits wide ports. * - Atomic set/reset functions. @@ -58,15 +58,15 @@ * resistor can change the resistor setting because the output latch is * used for resistor selection. * . - * @ingroup STM32F103 + * @ingroup STM32 */ /** - * @defgroup STM32F103_SERIAL USART Support + * @defgroup STM32_SERIAL STM32 USART Support * @brief USART peripherals support. - * @details The serial driver supports the STM32F103 USARTs in asynchronous + * @details The serial driver supports the STM32 USARTs in asynchronous * mode. * - * @ingroup STM32F103 + * @ingroup STM32 */ \ No newline at end of file diff --git a/os/io/platforms/STM32F103/serial_lld.c b/os/io/platforms/STM32F103/serial_lld.c index 2a727dc43..29a75ac88 100644 --- a/os/io/platforms/STM32F103/serial_lld.c +++ b/os/io/platforms/STM32F103/serial_lld.c @@ -18,9 +18,9 @@ */ /** - * @file STM32F103/serial_lld.c - * @brief STM32F103 low level serial driver code - * @addtogroup STM32F103_SERIAL + * @file STM32/serial_lld.c + * @brief STM32 low level serial driver code + * @addtogroup STM32_SERIAL * @{ */ diff --git a/os/io/platforms/STM32F103/serial_lld.h b/os/io/platforms/STM32F103/serial_lld.h index a623eb308..ed80f8b5d 100644 --- a/os/io/platforms/STM32F103/serial_lld.h +++ b/os/io/platforms/STM32F103/serial_lld.h @@ -18,9 +18,9 @@ */ /** - * @file STM32F103/serial_lld.h - * @brief STM32F103 low level serial driver header - * @addtogroup STM32F103_SERIAL + * @file STM32/serial_lld.h + * @brief STM32 low level serial driver header + * @addtogroup STM32_SERIAL * @{ */ @@ -159,7 +159,7 @@ struct _serial_driver_data { }; /** - * @brief Generic Serial Driver static initializer. + * @brief STM32 Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() * in order to configure and start a serial driver operations. * -- cgit v1.2.3