SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
This subsequence describes the steps to configure the gamma table for gamma correction (see Table 13-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 13.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– |