From 55cb504cb865f019f6d1c82f9d51713a664ad9c4 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Mon, 29 Mar 2010 21:06:33 +0000 Subject: [PATCH] doc: Add documentation for various ser_ specific functions git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3308 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/ser.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.25.1