SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
This subsequence describes the steps to configure the gamma table for gamma correction (see Table 11-125).
Software must ensure there is no visible effect when modifying the table because it is not under hardware control. The synchronization done using the DMA engine inside the DISPC to load the table when it is not used for displaying the picture on the screen is not present for this mode.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Enable Gamma table for LCD2 and TV. | DISPC_CONFIG1[9] GAMATABLEENABLE | 0x1 |
Initialize all entries for the gamma table by setting the table index and the RGB values. For more information, see Section 11.2.4.14.2, Gamma Correction Unit. | DISPC_GAMMA_TABLE2[31][29:20][19:10][9:0] INDEX, VALUE_R, VALUE_G, VALUE_B | 0x– |