Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
keyspan_usa90msg.h File Reference

Go to the source code of this file.

Data Structures

struct  keyspan_usa90_portControlMessage
 
struct  keyspan_usa90_portStatusMessage
 

Macros

#define USA_DATABITS_5   0x00
 
#define USA_DATABITS_6   0x01
 
#define USA_DATABITS_7   0x02
 
#define USA_DATABITS_8   0x03
 
#define STOPBITS_5678_1   0x00
 
#define STOPBITS_5_1p5   0x04
 
#define STOPBITS_678_2   0x04
 
#define USA_PARITY_NONE   0x00
 
#define USA_PARITY_ODD   0x08
 
#define USA_PARITY_EVEN   0x18
 
#define PARITY_MARK_1   0x28
 
#define PARITY_SPACE_0   0x38
 
#define TXFLOW_CTS   0x04
 
#define TXFLOW_DSR   0x08
 
#define TXFLOW_XOFF   0x01
 
#define TXFLOW_XOFF_ANY   0x02
 
#define TXFLOW_XOFF_BITS   (TXFLOW_XOFF | TXFLOW_XOFF_ANY)
 
#define RXFLOW_XOFF   0x10
 
#define RXFLOW_RTS   0x20
 
#define RXFLOW_DTR   0x40
 
#define RXFLOW_DSR_SENSITIVITY   0x80
 
#define RXMODE_BYHAND   0x00
 
#define RXMODE_DMA   0x02
 
#define TXMODE_BYHAND   0x00
 
#define TXMODE_DMA   0x02
 
#define RXERROR_OVERRUN   0x02
 
#define RXERROR_PARITY   0x04
 
#define RXERROR_FRAMING   0x08
 
#define RXERROR_BREAK   0x10
 
#define PORTSTATE_ENABLED   0x80
 
#define PORTSTATE_TXFLUSH   0x01
 
#define PORTSTATE_TXBREAK   0x02
 
#define PORTSTATE_LOOPBACK   0x04
 
#define USA_MSR_dCTS   0x01
 
#define USA_MSR_dDSR   0x02
 
#define USA_MSR_dRI   0x04
 
#define USA_MSR_dDCD   0x08
 
#define USA_MSR_CTS   0x10
 
#define USA_MSR_DSR   0x20
 
#define USA_USA_MSR_RI   0x40
 
#define MSR_DCD   0x80
 
#define MAX_DATA_LEN   64
 

Macro Definition Documentation

#define MAX_DATA_LEN   64

Definition at line 196 of file keyspan_usa90msg.h.

#define MSR_DCD   0x80

Definition at line 193 of file keyspan_usa90msg.h.

#define PARITY_MARK_1   0x28

Definition at line 130 of file keyspan_usa90msg.h.

#define PARITY_SPACE_0   0x38

Definition at line 131 of file keyspan_usa90msg.h.

#define PORTSTATE_ENABLED   0x80

Definition at line 178 of file keyspan_usa90msg.h.

#define PORTSTATE_LOOPBACK   0x04

Definition at line 181 of file keyspan_usa90msg.h.

#define PORTSTATE_TXBREAK   0x02

Definition at line 180 of file keyspan_usa90msg.h.

#define PORTSTATE_TXFLUSH   0x01

Definition at line 179 of file keyspan_usa90msg.h.

#define RXERROR_BREAK   0x10

Definition at line 176 of file keyspan_usa90msg.h.

#define RXERROR_FRAMING   0x08

Definition at line 175 of file keyspan_usa90msg.h.

#define RXERROR_OVERRUN   0x02

Definition at line 173 of file keyspan_usa90msg.h.

#define RXERROR_PARITY   0x04

Definition at line 174 of file keyspan_usa90msg.h.

#define RXFLOW_DSR_SENSITIVITY   0x80

Definition at line 142 of file keyspan_usa90msg.h.

#define RXFLOW_DTR   0x40

Definition at line 141 of file keyspan_usa90msg.h.

#define RXFLOW_RTS   0x20

Definition at line 140 of file keyspan_usa90msg.h.

#define RXFLOW_XOFF   0x10

Definition at line 139 of file keyspan_usa90msg.h.

#define RXMODE_BYHAND   0x00

Definition at line 144 of file keyspan_usa90msg.h.

#define RXMODE_DMA   0x02

Definition at line 145 of file keyspan_usa90msg.h.

#define STOPBITS_5678_1   0x00

Definition at line 124 of file keyspan_usa90msg.h.

#define STOPBITS_5_1p5   0x04

Definition at line 125 of file keyspan_usa90msg.h.

#define STOPBITS_678_2   0x04

Definition at line 126 of file keyspan_usa90msg.h.

#define TXFLOW_CTS   0x04

Definition at line 133 of file keyspan_usa90msg.h.

#define TXFLOW_DSR   0x08

Definition at line 134 of file keyspan_usa90msg.h.

#define TXFLOW_XOFF   0x01

Definition at line 135 of file keyspan_usa90msg.h.

#define TXFLOW_XOFF_ANY   0x02

Definition at line 136 of file keyspan_usa90msg.h.

#define TXFLOW_XOFF_BITS   (TXFLOW_XOFF | TXFLOW_XOFF_ANY)

Definition at line 137 of file keyspan_usa90msg.h.

#define TXMODE_BYHAND   0x00

Definition at line 147 of file keyspan_usa90msg.h.

#define TXMODE_DMA   0x02

Definition at line 148 of file keyspan_usa90msg.h.

#define USA_DATABITS_5   0x00

Definition at line 120 of file keyspan_usa90msg.h.

#define USA_DATABITS_6   0x01

Definition at line 121 of file keyspan_usa90msg.h.

#define USA_DATABITS_7   0x02

Definition at line 122 of file keyspan_usa90msg.h.

#define USA_DATABITS_8   0x03

Definition at line 123 of file keyspan_usa90msg.h.

#define USA_MSR_CTS   0x10

Definition at line 190 of file keyspan_usa90msg.h.

#define USA_MSR_dCTS   0x01

Definition at line 185 of file keyspan_usa90msg.h.

#define USA_MSR_dDCD   0x08

Definition at line 188 of file keyspan_usa90msg.h.

#define USA_MSR_dDSR   0x02

Definition at line 186 of file keyspan_usa90msg.h.

#define USA_MSR_dRI   0x04

Definition at line 187 of file keyspan_usa90msg.h.

#define USA_MSR_DSR   0x20

Definition at line 191 of file keyspan_usa90msg.h.

#define USA_PARITY_EVEN   0x18

Definition at line 129 of file keyspan_usa90msg.h.

#define USA_PARITY_NONE   0x00

Definition at line 127 of file keyspan_usa90msg.h.

#define USA_PARITY_ODD   0x08

Definition at line 128 of file keyspan_usa90msg.h.

#define USA_USA_MSR_RI   0x40

Definition at line 192 of file keyspan_usa90msg.h.