We aren't using RS485 but single wire.

This commit is contained in:
Simon Wilks
2013-01-21 23:31:12 +01:00
parent 64925c33cd
commit ecd01dc2e8
3 changed files with 12 additions and 6 deletions
+6
View File
@@ -169,6 +169,9 @@
#define TIOCSERGSTRUCT _TIOC(0x002c) /* Get device TTY structure */
#define TIOCSSINGLEWIRE _TIOC(0x002d) /* Set single-wire mode */
#define TIOCGSINGLEWIRE _TIOC(0x002e) /* Get single-wire mode */
/* Definitions used in struct serial_rs485 (Linux compatible) */
#define SER_RS485_ENABLED (1 << 0) /* Enable/disble RS-485 support */
@@ -176,6 +179,9 @@
#define SER_RS485_RTS_AFTER_SEND (1 << 2) /* Logic level for RTS pin after sent */
#define SER_RS485_RX_DURING_TX (1 << 4)
/* single-wire definitions */
#define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disble single-wire support */
/********************************************************************************************
* Public Type Definitions
********************************************************************************************/