diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 19:02:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 19:02:16 +0000 |
commit | 8f8b7f2c69575736da9004c8dc45c770b0f08c48 (patch) | |
tree | 0243a04b338f3e562d32135413ae47ea2fdc3779 /os/hal | |
parent | 2a2b5fd348d9fcb9c1c996ea6e7ea7d362f0e9c4 (diff) | |
download | ChibiOS-8f8b7f2c69575736da9004c8dc45c770b0f08c48.tar.gz ChibiOS-8f8b7f2c69575736da9004c8dc45c770b0f08c48.tar.bz2 ChibiOS-8f8b7f2c69575736da9004c8dc45c770b0f08c48.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4177 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/hal.dox | 10 | ||||
-rw-r--r-- | os/hal/include/io_block.h | 10 |
2 files changed, 15 insertions, 5 deletions
diff --git a/os/hal/hal.dox b/os/hal/hal.dox index 62e9585ac..4e21f3940 100644 --- a/os/hal/hal.dox +++ b/os/hal/hal.dox @@ -81,3 +81,13 @@ *
* @ingroup IO
*/
+
+/**
+ * @defgroup IO_CHANNEL Abstract I/O Channels
+ * @ingroup IO
+ */
+
+/**
+ * @defgroup IO_BLOCK Abstract I/O Block Device
+ * @ingroup IO
+ */
diff --git a/os/hal/include/io_block.h b/os/hal/include/io_block.h index ebfa608b3..b12ae4588 100644 --- a/os/hal/include/io_block.h +++ b/os/hal/include/io_block.h @@ -167,8 +167,8 @@ typedef struct { *
* @api
*/
-#define blkRead(ip, startblk, buffer, n) \
- ((ip)->vmt->read(ip, startblk, buffer, n))
+#define blkRead(ip, startblk, buf, n) \
+ ((ip)->vmt->read(ip, startblk, buf, n))
/**
* @brief Writes one or more blocks.
@@ -184,8 +184,8 @@ typedef struct { *
* @api
*/
-#define blkWrite(ip, startblk, buffer, n) \
- ((ip)->vmt->write(ip, startblk, buffer, n))
+#define blkWrite(ip, startblk, buf, n) \
+ ((ip)->vmt->write(ip, startblk, buf, n))
/**
* @brief Ensures write synchronization.
@@ -200,7 +200,7 @@ typedef struct { * @brief Returns a media information structure.
*
* @param[in] ip pointer to a @p BaseBlockDevice or derived class
- * @param[out] bdpi pointer to a @p BlockDeviceInfo structure
+ * @param[out] bdip pointer to a @p BlockDeviceInfo structure
*
* @api
*/
|