ImageLoopCallbackRegister Function

Microchip Graphics Library

Microchip Graphics Library
ImageLoopCallbackRegister Function
C
void ImageLoopCallbackRegister(
    IMG_LOOP_CALLBACK pFn
);
Overview

This function registers the loop callback function so that the decoder calls this function in every decoding loop. This can be used by the application program to do maintainance activities such as fetching data, updating the display, etc...

Returns

None

Side Effects

The graphics driver will be reset

Example
void Mainantance(void)
{
    ...
}

void main(void)
{
    ImageInit();
    ImageLoopCallbackRegister(Mainantance);       
    ...
}
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved