diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2024-04-29 22:18:40 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2024-04-30 00:31:37 +0200 |
commit | fbaa9c296177ab2defd939cac98ed9eda9bb3c4e (patch) | |
tree | ac661069169830cddc2fc7a73c3a6c16b8e236e4 | |
parent | 240cf59581cd06f5febf0f7fa253259583ff3432 (diff) |
Update ice1usb_proto.h
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: I8e041b3d94723eba9d3d30b9f03815d46dacf995
-rw-r--r-- | src/ice1usb_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ enum ice1usb_irq_type { #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 */ |