NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
117
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
7) Go to Step 9.
8) If external panel is STN, configure STN-related bits (
LCDCON [4:3]
).
9) Configure the color depth according to the input raw data (
LCDCON [2:0]
).
9.4 Configure LCD Interrupt
There are enable register, clear register, status register for every interrupt type. Enable Mask
set/clear register will branch firmware into interrupt sub-routine. Firmware can read Status
register to identify which interrupt generate now. Write Clear register will clear the interrupt
status. Status register will be set even if firmware disable the Enable register. Main-routine can
read Status register and write Clear register.
HSYNC interrupt, FIFO2 VLINE FINISH interrupt, and FIFO1 VLINE FINISH interrupt are only
for debug. Don’t use these interrupts under normal environment.
The programming procedure is listed as follows:
1) Enable required interrupts.
(LCDINTENB)
2) Clear the interrupts of all enabled ones for safety.
(LCDINTC)
9.5 Configure LCD Timing Generation
Each panel needs the timing waveform it required. After enabling LCD Controller, it can
generate timing waveform, which is specified with these registers. Before programming these
registers, programmer must make sure what panel you use and find out the requirements of
timing waveform from panel specification.
The programming procedure is listed as follows:
1) Configure LCD Timing Generation Register.
(
LCDTCON1, LCDTCON2, LCDTCON3,
LCDTCON4, LCDTCON5, and LCDTCON6
)
9.6 Configure OSD function
The relationship between screen, valid window, and OSD window is as Figure 9-4.
Figure 9-4 The relationship between screen, valid window, and OSD window