diff options
-rw-r--r-- | os/io/platforms/LPC214x/serial_lld.c | 4 | ||||
-rw-r--r-- | os/io/platforms/LPC214x/serial_lld.h | 2 |
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;
|