RequestPaletteChange Function

Microchip Graphics Library

Microchip Graphics Library
RequestPaletteChange Function
C
void RequestPaletteChange(
    void * pPalette, 
    WORD startEntry, 
    WORD length
);
Overview

Loads the palettes from the flash during vertical blanking period if possible, otherwise loads immediately.

Input Parameters
Input Parameters 
Description 
void * pPalette 
Pointer to the palette structure 
WORD startEntry 
Start entry to load (inclusive) 
WORD length 
Number of entries 
Returns

none

Preconditions

Palette must be initialized by PaletteInit().

Side Effects

There may be a slight flicker when the Palette entries are getting loaded one by one.

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