User`s manual

66 rabbit.com The System Identification and User Blocks
readUserBlockArray
int readUserBlockArray(void *dests[], unsigned numbytes[], int
numdests, unsigned addr);
DESCRIPTION
Reads a number of bytes from the User block on the primary flash to a set of buffers in root
memory. This function is usually used as the inverse function of
writeUserBlockArray().
PARAMETERS
dests Pointer to array of destinations to copy data to.
numbytes Array of numbers of bytes to be written to each destination.
numdests Number of destinations.
addr Address offset in User block to read from.
RETURN VALUE
0: Success
-1: Invalid address or range
-2: No valid System ID block found (block version 3 or later)
LIBRARY
IDBLOCK.LIB