Add completed but untested support for RS-485 on the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4959 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
74e377cbeb
commit
f946c431a6
@ -729,7 +729,7 @@ LPC4330-Xplorer Configuration Options
|
||||
CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
|
||||
CONFIG_U[S]ARTn_2STOP - Two stop bits
|
||||
|
||||
CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
|
||||
RS-485 mode.
|
||||
|
||||
|
@ -261,6 +261,7 @@
|
||||
|
||||
#define PINCONF_U0_TXD PINCONF_U0_TXD_3
|
||||
#define PINCONF_U0_RXD PINCONF_U0_RXD_3
|
||||
#define PINCONF_U0_DIR PINCONF_U0_DIR_3
|
||||
|
||||
#define PINCONF_U1_TXD PINCONF_U1_TXD_1
|
||||
#define PINCONF_U1_RXD PINCONF_U1_RXD_1
|
||||
|
@ -228,11 +228,13 @@ CONFIG_USART2_2STOP=0
|
||||
CONFIG_USART3_2STOP=0
|
||||
|
||||
#
|
||||
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
|
||||
# RS-485 mode.
|
||||
#
|
||||
CONFIG_USART_RS485MODE=n
|
||||
CONFIG_USART0_RS485MODE=n
|
||||
CONFIG_USART2_RS485MODE=n
|
||||
CONFIG_USART3_RS485MODE=n
|
||||
|
||||
#
|
||||
# LPC43xx specific PHY/Ethernet device driver settings
|
||||
|
@ -228,11 +228,13 @@ CONFIG_USART2_2STOP=0
|
||||
CONFIG_USART3_2STOP=0
|
||||
|
||||
#
|
||||
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
|
||||
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
|
||||
# RS-485 mode.
|
||||
#
|
||||
CONFIG_USART_RS485MODE=n
|
||||
CONFIG_USART0_RS485MODE=n
|
||||
CONFIG_USART2_RS485MODE=n
|
||||
CONFIG_USART3_RS485MODE=n
|
||||
|
||||
#
|
||||
# LPC43xx specific PHY/Ethernet device driver settings
|
||||
|
Loading…
Reference in New Issue
Block a user