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

Go to the source code of this file.

Data Structures

struct  keyspan_usa26_portControlMessage
 
struct  keyspan_usa26_portStatusMessage
 
struct  keyspan_usa26_globalControlMessage
 
struct  keyspan_usa26_globalStatusMessage
 
struct  keyspan_usa26_globalDebugMessage
 

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_1   0x28
 
#define PARITY_0   0x38
 
#define RXERROR_OVERRUN   0x02
 
#define RXERROR_PARITY   0x04
 
#define RXERROR_FRAMING   0x08
 
#define RXERROR_BREAK   0x10
 
#define MAX_DATA_LEN   64
 
#define STATUS_UPDATE_INTERVAL   16
 
#define STATUS_RATION   10
 

Macro Definition Documentation

#define MAX_DATA_LEN   64

Definition at line 250 of file keyspan_usa26msg.h.

#define PARITY_0   0x38

Definition at line 201 of file keyspan_usa26msg.h.

#define PARITY_1   0x28

Definition at line 200 of file keyspan_usa26msg.h.

#define RXERROR_BREAK   0x10

Definition at line 224 of file keyspan_usa26msg.h.

#define RXERROR_FRAMING   0x08

Definition at line 223 of file keyspan_usa26msg.h.

#define RXERROR_OVERRUN   0x02

Definition at line 221 of file keyspan_usa26msg.h.

#define RXERROR_PARITY   0x04

Definition at line 222 of file keyspan_usa26msg.h.

#define STATUS_RATION   10

Definition at line 256 of file keyspan_usa26msg.h.

#define STATUS_UPDATE_INTERVAL   16

Definition at line 253 of file keyspan_usa26msg.h.

#define STOPBITS_5678_1   0x00

Definition at line 194 of file keyspan_usa26msg.h.

#define STOPBITS_5_1p5   0x04

Definition at line 195 of file keyspan_usa26msg.h.

#define STOPBITS_678_2   0x04

Definition at line 196 of file keyspan_usa26msg.h.

#define USA_DATABITS_5   0x00

Definition at line 190 of file keyspan_usa26msg.h.

#define USA_DATABITS_6   0x01

Definition at line 191 of file keyspan_usa26msg.h.

#define USA_DATABITS_7   0x02

Definition at line 192 of file keyspan_usa26msg.h.

#define USA_DATABITS_8   0x03

Definition at line 193 of file keyspan_usa26msg.h.

#define USA_PARITY_EVEN   0x18

Definition at line 199 of file keyspan_usa26msg.h.

#define USA_PARITY_NONE   0x00

Definition at line 197 of file keyspan_usa26msg.h.

#define USA_PARITY_ODD   0x08

Definition at line 198 of file keyspan_usa26msg.h.