From 6d9146901cd9503180ec272f5b3af12e08553277 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 1 Jun 2009 19:50:42 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1007 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/ioports.h | 6 +++--- src/templates/ioports_lld.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/include/ioports.h b/src/include/ioports.h index 0114e4347..6ccf435af 100644 --- a/src/include/ioports.h +++ b/src/include/ioports.h @@ -60,7 +60,7 @@ typedef struct { /** Port identifier. */ ioportid_t bus_portid; /** Mask of the I/O lines that form the bus. The lines must be contiguous. - * The mask must be pre-shifted and also defines the bus size. */ + * The mask must be pre-shifted and also defines the bus width. */ ioportmask_t bus_mask; /** Offset, within the port, of the least significant bit of the bus. */ uint_fast8_t bus_offset; @@ -121,7 +121,7 @@ typedef struct { /** * @brief Writes a value on an I/O bus. * - * @param[in] bus the I/O bus + * @param[in] bus the I/O bus, pointer to a @p IOBus structure * @param[in] bits the bits to be written on the I/O bus. Values exceeding * the bus width are masked so most significant bits are lost. * @@ -134,7 +134,7 @@ typedef struct { /** * @brief Reads a value from an I/O bus. * - * @param[in] bus the I/O bus + * @param[in] bus the I/O bus, pointer to a @p IOBus structure * @return the bus bits * * @note The operation is not guaranteed to be atomic on all the architectures, diff --git a/src/templates/ioports_lld.h b/src/templates/ioports_lld.h index 77a9c93ba..422abe350 100644 --- a/src/templates/ioports_lld.h +++ b/src/templates/ioports_lld.h @@ -123,7 +123,7 @@ typedef uint32_t ioportid_t; /** * @brief Writes a value on an I/O bus. * - * @param[in] bus the I/O bus + * @param[in] bus the I/O bus, pointer to a @p IOBus structure * @param[in] bits the bits to be written on the I/O bus. Values exceeding * the bus width are masked so most significant bits are lost. * @@ -135,7 +135,7 @@ typedef uint32_t ioportid_t; /** * @brief Reads a value from an I/O bus. * - * @param[in] bus the I/O bus + * @param[in] bus the I/O bus, pointer to a @p IOBus structure * @return the bus bits * * @note This function is not meant to be invoked directly by the application -- cgit v1.2.3