From: lottaviano Date: Mon, 29 Mar 2010 21:06:33 +0000 (+0000) Subject: doc: Add documentation for various ser_ specific functions X-Git-Tag: 2.5.0~600 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=55cb504cb865f019f6d1c82f9d51713a664ad9c4;p=bertos.git doc: Add documentation for various ser_ specific functions git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3308 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/ser.c b/bertos/drv/ser.c index dac277b0..4a2c923d 100644 --- a/bertos/drv/ser.c +++ b/bertos/drv/ser.c @@ -256,12 +256,18 @@ void ser_settimeouts(struct Serial *fd, mtime_t rxtimeout, mtime_t txtimeout) #endif /* CONFIG_SER_RXTIMEOUT || CONFIG_SER_TXTIMEOUT */ +/** + * Set the baudrate for the serial port + */ void ser_setbaudrate(struct Serial *fd, unsigned long rate) { fd->hw->table->setBaudrate(fd->hw, rate); } +/** + * Set the parity for the \a fd serial port + */ void ser_setparity(struct Serial *fd, int parity) { fd->hw->table->setParity(fd->hw, parity);