Hi
I would like to know how to specify the block size of the data to be encoded while using the the TCP3e. Is there any API that can be used to specify the block size parameter?
I went through the example given (Example_Main.c). There is a structure defined :
/*
* Structure that holds input block data (configuration, info bits,
* reference encoded bits and encoded bits from the driver)
*/
typedef struct _CB_DATA
{
Int32 mode;
Int32 frameInd;
Int32 blockSize;
Int32 numInfoBits;
Int32 mcount;
Int32 crcFlag;
Int32 inOrder;
Int32 outOrder;
Int32 numInfoBytes;
Int32 inCfgReg[3];
Int32 modeReg;
UInt32 *infoBits;
UInt32 infoBitsByteLen;
Int32 numInfoWords;
UInt32 *codedBitsRef;
UInt32 *codedBits;
UInt32 codedBitsByteLen;
Int32 codedBitsLen;
Int32 intlvPar0;
Int32 intlvPar1;
Int32 intlvPar2;
Int32 intlvPar3;
} CB_DATA;
And in the code , scanf statements are issued to fill in the values. I went through the API docuemnetation to check if there are any APIs that can be used. But I could not find any. I would like to know if there are are any standard driver APIs available or this is the method defining the block size.
Regards
Kalpa