1 #ifndef SZA_UTIL_DATAARRAY_H
2 #define SZA_UTIL_DATAARRAY_H
13 #include "carma/szaarrayutils/regmap.h"
30 static void pack(RegAddrMode addrMode,
unsigned int flags,
31 unsigned int* destination,
unsigned int* source,
32 unsigned short first,
unsigned short nreg);
39 static void unpack(RegAddrMode addrMode,
unsigned int flags,
40 unsigned int* destination,
unsigned int* source,
41 unsigned short first,
unsigned short nreg);
46 static unsigned short byteLength(RegAddrMode addrMode,
66 #endif // End #ifndef SZA_UTIL_DATAARRAY_H
static unsigned short byteLength(RegAddrMode addrMode, unsigned short nreg)
Return the length, in bytes of a register un/packing operation.
A class to encapsulate data packaging for different address modes.
static void pack(RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
Pack a source data array of unsigned longs into a destination array of different types, using different addressing modes.
static void unpack(RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
Unpack a source data array of different types into a destination array of unsigned longs...