mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Cosmetic changes to comments and README
This commit is contained in:
@@ -473,43 +473,43 @@ Serial Console
|
|||||||
By default, all configurations use UART0 which connects to the USB VCOM
|
By default, all configurations use UART0 which connects to the USB VCOM
|
||||||
on the DEBUG port on the LM4F120 LaunchPad:
|
on the DEBUG port on the LM4F120 LaunchPad:
|
||||||
|
|
||||||
UART0 RX - PA.0
|
UART0 RX - PA.0
|
||||||
UART0 TX - PA.1
|
UART0 TX - PA.1
|
||||||
|
|
||||||
However, if you use an external RS232 driver, then other options are
|
However, if you use an external RS232 driver, then other options are
|
||||||
available. UART1 has option pin settings and flow control capabilities
|
available. UART1 has option pin settings and flow control capabilities
|
||||||
that are not available with the other UARTS::
|
that are not available with the other UARTS::
|
||||||
|
|
||||||
UART1 RX - PB.0 or PC.4 (Need disambiguation in board.h)
|
UART1 RX - PB.0 or PC.4 (Need disambiguation in board.h)
|
||||||
UART1 TX - PB.1 or PC.5 (" " " " "" " ")
|
UART1 TX - PB.1 or PC.5 (" " " " "" " ")
|
||||||
|
|
||||||
UART1_RTS - PF.0 or PC.4
|
UART1_RTS - PF.0 or PC.4
|
||||||
UART1_CTS - PF.1 or PC.5
|
UART1_CTS - PF.1 or PC.5
|
||||||
|
|
||||||
NOTE: board.h currently selects PB.0, PB.1, PF.0 and PF.1 for UART1, but
|
NOTE: board.h currently selects PB.0, PB.1, PF.0 and PF.1 for UART1, but
|
||||||
that can be changed by editting board.h
|
that can be changed by editing board.h
|
||||||
|
|
||||||
UART2-5, 7 are also available, UART2 is not recommended because it shares
|
UART2-5, 7 are also available, UART2 is not recommended because it shares
|
||||||
some pin usage with USB device mode. UART6 is not available because its
|
some pin usage with USB device mode. UART6 is not available because its
|
||||||
only RX/TX pin options are dedicated to USB support.
|
only RX/TX pin options are dedicated to USB support.
|
||||||
|
|
||||||
UART2 RX - PD.6
|
UART2 RX - PD.6
|
||||||
UART2 TX - PD.7 (Also used for USB VBUS detection)
|
UART2 TX - PD.7 (Also used for USB VBUS detection)
|
||||||
|
|
||||||
UART3 RX - PC.6
|
UART3 RX - PC.6
|
||||||
UART3 TX - PC.7
|
UART3 TX - PC.7
|
||||||
|
|
||||||
UART4 RX - PC.4
|
UART4 RX - PC.4
|
||||||
UART4 TX - PC.5
|
UART4 TX - PC.5
|
||||||
|
|
||||||
UART5 RX - PE.4
|
UART5 RX - PE.4
|
||||||
UART5 TX - PE.5
|
UART5 TX - PE.5
|
||||||
|
|
||||||
UART6 RX - PD.4, Not available. Dedicated for USB_DM
|
UART6 RX - PD.4, Not available. Dedicated for USB_DM
|
||||||
UART6 TX - PD.5, Not available. Dedicated for USB_DP
|
UART6 TX - PD.5, Not available. Dedicated for USB_DP
|
||||||
|
|
||||||
UART7 RX - PE.0
|
UART7 RX - PE.0
|
||||||
UART7 TX - PE.1
|
UART7 TX - PE.1
|
||||||
|
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define TIVA_RCC_VALUE (SYSCON_RCC_OSCSRC | SYSCON_RCC_XTAL | \
|
#define TIVA_RCC_VALUE (SYSCON_RCC_OSCSRC | SYSCON_RCC_XTAL | \
|
||||||
SYSCON_RCC_USESYSDIV | SYSCON_RCC_SYSDIV(TIVA_SYSDIV))
|
SYSCON_RCC_USESYSDIV | SYSCON_RCC_SYSDIV(TIVA_SYSDIV))
|
||||||
|
|
||||||
/* RCC2 settings
|
/* RCC2 settings
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user