diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-01 19:50:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-01 19:50:42 +0000 |
commit | 6d9146901cd9503180ec272f5b3af12e08553277 (patch) | |
tree | afaf26bfc91c221fc1872160f721cd9fefc10611 /src | |
parent | 080e6abe804c5404c4d81614cf130b4ce332efcd (diff) | |
download | ChibiOS-6d9146901cd9503180ec272f5b3af12e08553277.tar.gz ChibiOS-6d9146901cd9503180ec272f5b3af12e08553277.tar.bz2 ChibiOS-6d9146901cd9503180ec272f5b3af12e08553277.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1007 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ioports.h | 6 | ||||
-rw-r--r-- | src/templates/ioports_lld.h | 4 |
2 files changed, 5 insertions, 5 deletions
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
|