Decompress Function

Microchip Graphics Library

Microchip Graphics Library
Decompress Function
C
BYTE Decompress(
    DWORD SrcAddress, 
    DWORD DestAddress, 
    DWORD nbytes
);
Overview

Decompresses the nbytes number of data at SrcAddress and places starting from DestAddress. (Blocking)

Input Parameters
Input Parameters 
Description 
DWORD SrcAddress 
Source address 
DWORD DestAddress 
Destination address 
DWORD nbytes 
Number of bytes to be decompressed 
Returns

error flag

Preconditions

SrcAddress must point to the start of a compressed block.

Side Effects

Modifies workarea_1 & workarea_2 registers.

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved