From 198723b90d89226198c1b09bccc80d88e001753e Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Mon, 19 Aug 2019 10:57:00 -0600 Subject: [PATCH] arch/arm/src/tiva/common/tiva_serial.c: Fix some typos in comments. --- arch/arm/src/tiva/common/tiva_serial.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/tiva/common/tiva_serial.c b/arch/arm/src/tiva/common/tiva_serial.c index 9535f40425..735faa9279 100644 --- a/arch/arm/src/tiva/common/tiva_serial.c +++ b/arch/arm/src/tiva/common/tiva_serial.c @@ -915,7 +915,7 @@ static void up_shutdown(struct uart_dev_s *dev) * Name: up_attach * * Description: - * Configure the UART to operation in interrupt driven mode. This method is + * Configure the UART to operate in interrupt driven mode. This method is * called when the serial port is opened. Normally, this is just after the * the setup() method is called, however, the serial console may operate in * a non-interrupt driven mode during the boot phase. @@ -970,7 +970,7 @@ static void up_detach(struct uart_dev_s *dev) * This is the UART interrupt handler. It will be invoked * when an interrupt received on the 'irq' It should call * uart_transmitchars or uart_receivechar to perform the - * appropriate data transfers. The interrupt handling logic\ + * appropriate data transfers. The interrupt handling logic * must be able to map the 'irq' number into the approprite * uart_dev_s structure in order to call these functions. * @@ -1175,7 +1175,7 @@ static int up_receive(struct uart_dev_s *dev, uint32_t *status) rxd = up_serialin(priv, TIVA_UART_DR_OFFSET); *status = rxd; - /* The lower 8bits of the Rx data is the actual recevied byte */ + /* The lower 8bits of the Rx data is the actual received byte */ return rxd & 0xff; } @@ -1193,7 +1193,7 @@ static void up_rxint(struct uart_dev_s *dev, bool enable) struct up_dev_s *priv = (struct up_dev_s *)dev->priv; if (enable) { - /* Receive an interrupt when their is anything in the Rx FIFO (or an Rx + /* Receive an interrupt when there is anything in the Rx FIFO (or an Rx * timeout occurs. */ @@ -1258,13 +1258,13 @@ static void up_txint(struct uart_dev_s *dev, bool enable) priv->im |= UART_IM_TXIM; up_serialout(priv, TIVA_UART_IM_OFFSET, priv->im); - /* The serial driver wants an interrupt here, but will not get get + /* The serial driver wants an interrupt here, but will not get * one unless we "prime the pump." I believe that this is because * behave like a level interrupt and the Stellaris interrupts behave * (at least by default) like edge interrupts. * * In any event, faking a TX interrupt here solves the problem; - * Call uart_xmitchars() just as would have been done if we recieved + * Call uart_xmitchars() just as would have been done if we received * the TX interrupt. */ @@ -1411,7 +1411,7 @@ void up_serialinit(void) * Name: up_putc * * Description: - * Provide priority, low-level access to support OS debug writes + * Provide priority, low-level access to support OS debug writes * ****************************************************************************/