100 Pamux User’s Guide
Pack/Unpack Utility Operations (PamuxUtilBitPackArray2I, PamuxUtilBitUnPackI2Array)
PROTOTYPE:
Void PamuxUtilBitPackArray2I(UINT far* DestInt, int far SourceArray[], int Qty);
Void PamuxUtilBitUnPackI2Array(int far DestArray[], UINT SourceInt, int Qty);
DESCRIPTION:
PamuxUtilBitPackArray2I converts an array of boolean (0 or not 0) values to a bit packed integer.
PamuxUtilBitUnPackI2Array converts a bit packed integer to an array of boolean (1 or 0) values.
Qty indicates the number of bits to be packed/unpacked.
PROGRAMING WITH THE PAMUX DRIVER