aboutsummaryrefslogtreecommitdiffstats
path: root/src/e1d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/e1d.h')
-rw-r--r--src/e1d.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/e1d.h b/src/e1d.h
index bf1cbdf..55e5415 100644
--- a/src/e1d.h
+++ b/src/e1d.h
@@ -78,6 +78,11 @@ enum e1_ts_mode {
};
extern const struct value_string e1_ts_mode_names[];
+enum e1_framing_mode {
+ E1_FRAMING_MODE_CRC4 = 0,
+ E1_FRAMING_MODE_NO_CRC4,
+};
+
struct e1_ts {
struct e1_line *line;
uint8_t id;
@@ -160,6 +165,14 @@ struct e1_line {
uint32_t rx_bytes;
} watchdog;
+ /* driver specific data */
+ struct {
+ struct {
+ enum e1_framing_mode tx;
+ enum e1_framing_mode rx;
+ } framing;
+ } usb;
+
void *e1gen_priv;
};