tnt has uploaded this change for review.
Update ice1usb_proto.h
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: I8e041b3d94723eba9d3d30b9f03815d46dacf995
---
M src/ice1usb_proto.h
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/88/36688/1
diff --git a/src/ice1usb_proto.h b/src/ice1usb_proto.h
index 54b91ab..ee1c307 100644
--- a/src/ice1usb_proto.h
+++ b/src/ice1usb_proto.h
@@ -16,8 +16,14 @@
/*! returns a bit-mask of optional device capabilities (see enum e1usb_dev_capability) */
#define ICE1USB_DEV_GET_CAPABILITIES 0x01
+
+/*! returns a string describing the firmware version */
#define ICE1USB_DEV_GET_FW_BUILD 0x02
+/*! performs an I2C register access (read/write depends on direction) */
+#define ICE1USB_DEV_I2C_REG_ACCESS 0x10
+
+
enum e1usb_dev_capability {
/*! Does this board have a GPS-DO */
ICE1USB_DEV_CAP_GPSDO,
@@ -137,6 +143,7 @@
#define ICE1USB_ERR_F_ALIGN_ERR 0x01
#define ICE1USB_ERR_F_LOS 0x02
#define ICE1USB_ERR_F_RAI 0x04
+#define ICE1USB_ERR_F_AIS 0x08
struct ice1usb_irq_err {
/* 16-bit little-endian counters */
To view, visit change 36688. To unsubscribe, or for help writing mail filters, visit settings.