cp210x.c (e981b060767b3c4ac9393ad8d2558d648e35dfcb) | cp210x.c (72916791cbeb9cc607ae620cfba207dea481cd76) |
---|---|
1/* 2 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 3 * 4 * Copyright (C) 2005 Craig Shelley (craig@microtron.org.uk) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License version 8 * 2 as published by the Free Software Foundation. --- 208 unchanged lines hidden (view full) --- 217#define BITS_PARITY_SPACE 0x0040 218 219#define BITS_STOP_MASK 0x000f 220#define BITS_STOP_1 0x0000 221#define BITS_STOP_1_5 0x0001 222#define BITS_STOP_2 0x0002 223 224/* CP210X_SET_BREAK */ | 1/* 2 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 3 * 4 * Copyright (C) 2005 Craig Shelley (craig@microtron.org.uk) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License version 8 * 2 as published by the Free Software Foundation. --- 208 unchanged lines hidden (view full) --- 217#define BITS_PARITY_SPACE 0x0040 218 219#define BITS_STOP_MASK 0x000f 220#define BITS_STOP_1 0x0000 221#define BITS_STOP_1_5 0x0001 222#define BITS_STOP_2 0x0002 223 224/* CP210X_SET_BREAK */ |
225#define BREAK_ON 0x0000 226#define BREAK_OFF 0x0001 | 225#define BREAK_ON 0x0001 226#define BREAK_OFF 0x0000 |
227 228/* CP210X_(SET_MHS|GET_MDMSTS) */ 229#define CONTROL_DTR 0x0001 230#define CONTROL_RTS 0x0002 231#define CONTROL_CTS 0x0010 232#define CONTROL_DSR 0x0020 233#define CONTROL_RING 0x0040 234#define CONTROL_DCD 0x0080 --- 595 unchanged lines hidden --- | 227 228/* CP210X_(SET_MHS|GET_MDMSTS) */ 229#define CONTROL_DTR 0x0001 230#define CONTROL_RTS 0x0002 231#define CONTROL_CTS 0x0010 232#define CONTROL_DSR 0x0020 233#define CONTROL_RING 0x0040 234#define CONTROL_DCD 0x0080 --- 595 unchanged lines hidden --- |