index 087990234f7a3f92581dbe36956927464ffe98c0..c05ed8d56bdcf867ba067e216f81bd298108562d 100644 (file)
int8_t elementSize; // size of elements in bytes
} ioDataFrameInfo_t;
+typedef struct streamInfo_s {
+ uint_least16_t IEC_PC;
+ uint_least32_t frameLength;
+ uint_least32_t dataLength;
+} streamInfo_t;
+
// Auto-detection status
typedef struct ioDataAutoDetStat_s {
uint_least16_t syncState; // SYNC state
- uint_least16_t bitStreamInfo; // bit stream information - value of IEC_PC
+ streamInfo_t streamInfo; // bit stream information - value of IEC_PC
uint8_t deliverZeros; // flag to indicate whether zeros should be sent to output
uint8_t syncTimeOut;
} ioDataAutoDetStat_t;