From 8ce831d013cd306b24c3e6eca4c1efec28469f5b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 20 Aug 2009 11:15:24 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1087 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- docs/src/main.dox | 50 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 12 deletions(-) (limited to 'docs/src/main.dox') diff --git a/docs/src/main.dox b/docs/src/main.dox index 3d6c605c5..56fcd252a 100644 --- a/docs/src/main.dox +++ b/docs/src/main.dox @@ -88,7 +88,6 @@ * - @subpage test_events * - @subpage test_mbox * - @subpage test_queues - * - @subpage test_serial * - @subpage test_heap * - @subpage test_pools * - @subpage test_benchmarks @@ -347,11 +346,33 @@ /** * @defgroup IO I/O Support * @brief I/O related services. - * @details This section contains the I/O related services. Note that no - * specific drivers are documented here, all the listed modules are abstract - * interfaces or kernel APIs that the device drivers should implement/use.
- * The use of common I/O interfaces allow for a certain degree of portability - * for the ChibiOS/RT application among very different MCUs. + * @details This section contains the I/O related services. + * + * The I/O subsystem is a collection of device driver poertable interfaces and + * platform dependent implementations.
+ * Under ChibiOS/RT a device driver is split in two layers: + * - High Level Device Driver (HLD). This layer contains the definitions + * of the driver's APIs and the platform independent part of the driver.
+ * An HLD is composed by two files: + * - @.c, the high level implementation file. This file must be + * included in the Makefile in order to use the driver. + * - @.h, the high level header file. This file must be included + * by the application code in order to access the driver's APIs. + * . + * - Low Level Device Driver (LLD). This layer contains the platform + * dependent part of the driver.
+ * A LLD is composed by two files: + * - @_lld.c, the low level implementation file. This file must be + * included in the Makefile in order to use the driver. + * - @_lld.h, the high level header file. This file is implicitly + * included by the HLD header file. + * . + * . + *

Available Device Drivers

+ * The I/O subsystem currently includes support for: + * - @ref PAL. + * - @ref SERIAL. + * . */ /** @@ -413,8 +434,7 @@ /** * @defgroup PAL_LLD PAL Low Level Driver * @brief @ref PAL low level driver template. - * @details This file is a template for an I/O port low level driver. This - * file implements the physical layer of an I/O port driver. + * @details This file is a template for an I/O port low level driver. * * @ingroup PAL */ @@ -459,21 +479,27 @@ */ /** - * @defgroup Serial Serial Drivers + * @defgroup SERIAL Serial Driver * @brief Generic Serial Drivers. * @details This module implements a generic full duplex serial driver. The - * driver implements a @p FullDuplexDriver interface and uses I/O Queues for + * driver implements a @p SerialDriver interface and uses I/O Queues for * communication between the upper and the lower driver. Event flags are used * to notify the application about incoming data, outgoing data and other I/O * events.
* The module also contains functions that make the implementation of the * interrupt service routines much easier.
- * In order to use the serial full duplex driver the - * @p CH_USE_SERIAL_FULLDUPLEX option must be specified in @p chconf.h. * * @ingroup IO */ +/** + * @defgroup SERIAL_LLD Serial Low Level Driver + * @brief @ref SERIAL low level driver template. + * @details This file is a template for a serial low level driver. + * + * @ingroup SERIAL + */ + /** * @defgroup utilities_library Utilities Library * @brief Utilities Library. -- cgit v1.2.3