rtxBitDecode.h File Reference
Bit decode functions. More...
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Functions | |
EXTERNRT int | rtxDecBits (OSCTXT *pctxt, OSUINT32 *pvalue, OSUINT32 nbits) |
This function decodes up to sizeof(unsigned) bits and returns the result in an unsigned integer value. |
Detailed Description
Bit decode functions.
Definition in file rtxBitDecode.h.
Function Documentation
EXTERNRT int rtxDecBits | ( | OSCTXT * | pctxt, | |
OSUINT32 * | pvalue, | |||
OSUINT32 | nbits | |||
) |
This function decodes up to sizeof(unsigned) bits and returns the result in an unsigned integer value.
- Parameters:
-
pctxt Pointer to a context structure. This provides a storage area for the function to store all working variables that must be maintained between function calls. pvalue Pointer to value to be receive decoded result. nbits Number of bits to read from decode buffer.
- Returns:
- Status of the operation. Zero if successful; a negative status code if failed.