« Close

Datasheets and User Guides

App Notes

Software & Driver

 

2.8.3.4 - ByteArrayToUINT32

Converts an array of bytes to 32-bit unsigned integer values, performing automatic endian conversions if necessary.

This function is not needed except for applications performing raw byte manipulation, as with the Raw Byte functions.

Syntax

LJM_ERROR_RETURN LJM_ByteArrayToUINT32(
                      const unsigned char * aBytes,
                      int RegisterOffset,
                      int NumUINT32,
                      unsigned int * aUINT32)

Parameters

aBytes [in]
The bytes to be converted.
RegisterOffset [in]
The register offset to get the values from in aBytes.
NumUINT32 [in]
The number of values to convert.
aUINT32 [out]
The converted bytes in 32-bit unsigned integer value form.

Returns

LJM errorcode or 0 for no error.

Remarks

See also: LJM_UINT32ToByteArray