index bed31c5adbc2ea892a4860b1c70c054c010e7d81..1c27a4eeb8a89e7a00f7ff4248e128c4d5c1c1ac 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
} ioDataAutoDetStat_t;