SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
This subsequence describes the settings for configuring the gamma correction for LCD1, LCD2, and LCD3 (see Table 11-116 through Table 11-118, respectively).
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 to display the picture on the screen is not present for this mode.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Initialize all entries for the gamma table by setting the table index and the RGB values associated to this index. | DISPC_GAMMA_TABLE0[31:24][23:16][15:8][7:0], INDEX, VALUE_R, VALUE_G, VALUE_B | 0x– |
Enable the gamma table. | DISPC_CONFIG1[3] PALETTEGAMMATABLE | 0x1 |
Select the load mode of the gamma look-up table. | DISPC_CONFIG1[2:1] LOADMODE | 0x– |
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 associated to this index. | DISPC_GAMMA_TABLE2[31:24][23:16][15:8][7:0], INDEX, VALUE_R, VALUE_G, VALUE_B | 0x– |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Enable Gamma table for LCD3 and TV. | DISPC_CONFIG3[9] GAMATABLEENABLE | 0x1 |
Initialize all entries for the gamma table by setting the table index and the RGB values associated to this index. | DISPC_GAMMA_TABLE3[31:24][23:16][15:8][7:0], INDEX, VALUE_R, VALUE_G, VALUE_B | 0x– |