Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4958 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-20 16:58:39 +00:00
parent bfeaf56050
commit 3dd3e950cb
6 changed files with 106 additions and 2 deletions
+5 -1
View File
@@ -716,7 +716,7 @@ LPC4330-Xplorer Configuration Options
CONFIG_LPC43_USB1_ULPI=y
CONFIG_LPC43_WWDT=y
LPC43xx specific device driver settings
LPC43xx specific U[S]ART device driver settings
CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the
console and ttys0 (default is the USART0).
@@ -729,6 +729,10 @@ 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
ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
RS-485 mode.
LPC43xx specific CAN device driver settings. These settings all
require CONFIG_CAN:
@@ -227,6 +227,13 @@ CONFIG_UART1_2STOP=0
CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
# RS-485 mode.
#
CONFIG_USART_RS485MODE=n
#
# LPC43xx specific PHY/Ethernet device driver settings
#
@@ -227,6 +227,13 @@ CONFIG_UART1_2STOP=0
CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
# RS-485 mode.
#
CONFIG_USART_RS485MODE=n
#
# LPC43xx specific PHY/Ethernet device driver settings
#