SetPaletteBpp Function

Microchip Graphics Library

Microchip Graphics Library
SetPaletteBpp Function
C
BYTE SetPaletteBpp(
    BYTE bpp
);
Overview

Sets the color look up table (CLUT) number of valid entries.

Input Parameters
Input Parameters 
Description 
BYTE bpp 
Bits per pixel 
Returns

Returns the status of the change. 0 - Change was successful 1 - Change was not successful

Preconditions

Palette must be initialized by PaletteInit().

Side Effects

none

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