diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-20 11:15:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-20 11:15:24 +0000 |
commit | 8ce831d013cd306b24c3e6eca4c1efec28469f5b (patch) | |
tree | ebbacbe6d0238794cefa78fa9935ece975872b10 /os/io | |
parent | f7117a6201769d9d10c59415bf93f7948a2703ae (diff) | |
download | ChibiOS-8ce831d013cd306b24c3e6eca4c1efec28469f5b.tar.gz ChibiOS-8ce831d013cd306b24c3e6eca4c1efec28469f5b.tar.bz2 ChibiOS-8ce831d013cd306b24c3e6eca4c1efec28469f5b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1087 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io')
-rw-r--r-- | os/io/serial.c | 12 | ||||
-rw-r--r-- | os/io/templates/serial_lld.c | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/os/io/serial.c b/os/io/serial.c index 30a17ed48..9c398f5f0 100644 --- a/os/io/serial.c +++ b/os/io/serial.c @@ -80,14 +80,10 @@ void sdInit(void) { * @details The HW dependent part of the initialization has to be performed
* outside, usually in the hardware initialization code.
*
- * @param[out] sd pointer to a @p SerialDriver structure
- * @param[in] ib pointer to a memory area allocated for the Input Queue buffer
- * @param[in] isize size of the Input Queue buffer
+ * @param[out] sdp pointer to a @p SerialDriver structure
* @param[in] inotify pointer to a callback function that is invoked when
* some data is read from the Queue. The value can be
* @p NULL.
- * @param[in] ob pointer to a memory area allocated for the Output Queue buffer
- * @param[in] osize size of the Output Queue buffer
* @param[in] onotify pointer to a callback function that is invoked when
* some data is written in the Queue. The value can be
* @p NULL.
@@ -106,7 +102,7 @@ void sdObjectInit(SerialDriver *sdp, qnotify_t inotify, qnotify_t onotify) { /**
* @brief Configures and starts the driver.
*
- * @param[in] ip pointer to a @p SerialDriver or derived class
+ * @param[in] sdp pointer to a @p SerialDriver object
* @param[in] config the architecture-dependent serial driver configuration.
* If this parameter is set to @p NULL then a default
* configuration is used.
@@ -120,10 +116,10 @@ void sdStart(SerialDriver *sdp, const SerialDriverConfig *config) { /**
* @brief Stops the driver.
- * @Details Any thread waiting on the driver's queues will be awakened with
+ * @details Any thread waiting on the driver's queues will be awakened with
* the message @p Q_RESET.
*
- * @param[in] ip pointer to a @p SerialDriver or derived class
+ * @param[in] sdp pointer to a @p SerialDrive object
*/
void sdStop(SerialDriver *sdp) {
diff --git a/os/io/templates/serial_lld.c b/os/io/templates/serial_lld.c index d0aabfaa0..211307f16 100644 --- a/os/io/templates/serial_lld.c +++ b/os/io/templates/serial_lld.c @@ -69,7 +69,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialDriverConfig *config) { * @details De-initializes the USART, stops the associated clock, resets the
* interrupt vector.
*
- * @param[in] sd pointer to a @p SerialDriver object
+ * @param[in] sdp pointer to a @p SerialDriver object
*/
void sd_lld_stop(SerialDriver *sdp) {
|