7.6 Start and Stop of Video Output
For activating the Video Output module signals the bits
VOnLCDCONTROL.LCDEN = 1 VOnLCDCONTROL.LCDPWR = 1 have to be set.
Start of Video Output
The sequence below describes of how to start up the output of display data.
Before initialization all Video Output module signals are inactive and output low
level.
1.
define the pixel clock frequency by setting SYSCLKCTRL.VOnDIV
[5:0] in the System Controller's clock control register
2.
select the appropriate synchronization signals VOnVSYNC/
VOnHSYNC/VOnCSYNC/VOnEN by setting the Video Output control
register SYSVOCTRL in the System Controller
3.
in case the CLUT palette is to be used, enable the palette RAM by
setting SYSVOCTRL.VOnRAMEN = 1 in the System Controller's
Video Output control register
4.
define the colour mode, DMA FIFO watermark level, the vertical
compare interrupt VOnVCPINT timing and the RGB swap control in
VOnLCDCONTROL
5.
define the horizontal timing parameters by setting VOnLCDTIMING0
6.
define the vertical timing parameters by setting VOnLCDTIMING1
7.
define the
-
signal polarity of VOnEN, VOnHSYNC, VOnVSYNC
-
the valid edge of VOnCLK
-
the number of VOnCLK periods per line
by setting VOnLCDTIMING2
8.
unmask the interrupts to be used by setting VOnLCDIMSC
9.
define the framebuffer address of the pixel data to be output by
setting VOnLCDUPBASE
10. set VOnLCDCONTROL.LCDEN = 1, which activates the Video
Output module control signals VOnHSYNC, VOnVSYNC, VOnCLK,
VOnEN and VOnCSYNC
11. set VOnLCDCONTROL.LCDPWR = 1, which activates the Video
Output module display data signals VOnR[5:0], VOnG[5:0], VOnB
[5:0]
Stop of Video Output
In order to stop output of display data, proceed as follows:
1.
set VOnLCDCONTROL.LCDPWR = 0 to fix the Video Output module
display data signals VOnR[5:0], VOnG[5:0], VOnB[5:0] to low level
2.
set VOnLCDCONTROL.LCDEN = 0 to fix the Video Output module
control signals VOnHSYNC, VOnVSYNC, VOnCLK, VOnEN and
VOnCSYNC to low level
3.
mask all interrupts by setting all bits in VOnLCDIMSC to 0
4.
clear all pending interrupts by writing 1 to all bits in VOnLCDICR
Chapter 7
Video Output
200
Preliminary User's Manual S19203EE1V3UM00
Содержание uPD72257
Страница 39: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 39...
Страница 44: ...Chapter 2 Pin Functions 44 Preliminary User s Manual S19203EE1V3UM00...
Страница 46: ...Chapter 2 Pin Functions 46 Preliminary User s Manual S19203EE1V3UM00...
Страница 49: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 49...
Страница 52: ...Chapter 2 Pin Functions 52 Preliminary User s Manual S19203EE1V3UM00...
Страница 54: ...Chapter 2 Pin Functions 54 Preliminary User s Manual S19203EE1V3UM00...
Страница 331: ...External Memory Interface Controller Chapter 9 Preliminary User s Manual S19203EE1V3UM00 331...
Страница 343: ......