aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/platforms/LPC214x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-08-21 09:54:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-08-21 09:54:40 +0000
commit1b7573aa1637c2b6cd42f3803d6684426a374788 (patch)
treef7576196b3d4704943e3020f7dbd151c610965ae /os/io/platforms/LPC214x
parent89cd6853e753c32903a9a6d48e3fe26be8999f97 (diff)
downloadChibiOS-1b7573aa1637c2b6cd42f3803d6684426a374788.tar.gz
ChibiOS-1b7573aa1637c2b6cd42f3803d6684426a374788.tar.bz2
ChibiOS-1b7573aa1637c2b6cd42f3803d6684426a374788.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1096 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/platforms/LPC214x')
-rw-r--r--os/io/platforms/LPC214x/serial_lld.c4
-rw-r--r--os/io/platforms/LPC214x/serial_lld.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/io/platforms/LPC214x/serial_lld.c b/os/io/platforms/LPC214x/serial_lld.c
index 8c76a4352..88fd99f42 100644
--- a/os/io/platforms/LPC214x/serial_lld.c
+++ b/os/io/platforms/LPC214x/serial_lld.c
@@ -89,7 +89,7 @@ void uart_deinit(UART *u) {
/**
* @brief Error handling routine.
* @param[in] err UART LSR register value
- * @param[in] sdp communication channel associated to the USART
+ * @param[in] sdp communication channel associated to the UART
*/
static void set_error(IOREG32 err, SerialDriver *sdp) {
sdflags_t sts = 0;
@@ -309,7 +309,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialDriverConfig *config) {
/**
* @brief Low level serial driver stop.
- * @details De-initializes the USART, stops the associated clock, resets the
+ * @details De-initializes the UART, stops the associated clock, resets the
* interrupt vector.
*
* @param[in] sdp pointer to a @p SerialDriver object
diff --git a/os/io/platforms/LPC214x/serial_lld.h b/os/io/platforms/LPC214x/serial_lld.h
index b576a3e6e..04328e64b 100644
--- a/os/io/platforms/LPC214x/serial_lld.h
+++ b/os/io/platforms/LPC214x/serial_lld.h
@@ -146,7 +146,7 @@ struct _serial_driver_data {
* initializers.
*/
typedef struct {
- uint32_t baud_rate;
+ uint32_t speed;
uint32_t lcr;
uint32_t fcr;
} SerialDriverConfig;