Tsev > Xov xwm > Ntsiab lus

BT81X (815/6) Advanced EVE Graphics Engine Pauj RGB Interface

May 09, 2019

RGB parallel interface muaj 29 lub teeb tsa - DISP, PCLK, VSYNC, HSYNC, DE, 8 cim txhua yam rau R,
G thiab B.
Txheej ntawm RGB registers configure LCD lag luam thiab tsis timing.
REG_PCLK yog tus PCLK divisor. Lub neej ntawd tus nqi yog 0, uas txhais tau hais tias PCLK cov zis yog neeg xiam oob khab. Thaum
REG_PCLK tsis muaj 0 (1-1023), PCLK zaus tuaj yeem xam raws:
PCLK zaus = Qhov System Clock zaus / REG_PCLK
Tus BT815 / 6 lub moos lub xovtooj yog qhov tsim tau. Qee qhov ntawm PCLK frequencies uas
BT815 / 6 cov kev txhawb zog muaj teev nyob rau hauv Table 4-11.
image

REG_PCLK_POL txhais cov moos polarity, nrog 0 rau cov nquag siv xaj ntug, thiab 1 rau cov moos
ntug.
REG_CSPREAD tswj cov kev hloov ntawm RGB Pib ntsig txog txoj cai PCLK dhia sab ntug. Thaum
REG_CSPREAD = 0, R [7: 0], G [7: 0] thiab B [7: 0] Pib ntsais koj teeb tom qab lub ntug kev ntawm PCLK. Thaum
REG_CSPREAD = 1, R [7: 0] pauv lub PCLK moos thaum ntxov thiab B [7: 0] PCLK moos tom qab, uas pab txo
lub suab nrov switching.
REG_DITHER enables xim dither. Qhov kev xaiv no pab txoj kev zoo nkauj li ib nrab ntawm cov duab.
Internally, lub tshuab graphics cav cov xim qhov tseem ceeb ntawm qhov kev txiav 8 ntsis; Txawm li cas los, LCD xim
ntawm qhov qis dua yog txaus.
REG_OUTBITS muab lub dav dav ntawm txhua cov xim channel; lub neej yog 8/8/8 cov khoom rau txhua tus R / G / B xim.
Ib tus nqi qis dua txhais tau tias tsawg dua cov khoom tawm rau txhua cov channel uas dithering rau sab qis precision LCD
qhia.
REG_SWIZZLE tswj cov txheej txheem ntawm cov zis xim pins, pab PCB txoj kev ua txawv LCD
vaj huam sib luag. Tshaj 0 ntawm qhov kev tso npe ua rau qhov kev txiav txim ntawm cov khoom hauv txhua cov xim channel yuav tsum tau ntxeev dua.
Khoom 1-3 tswj tus RGB yuam. Qhov Teev Tseg 1 ua rau R thiab B yuav tsum tau pauv. Qhov Teev Tseg 3 pub rau
kev sib hloov kom muaj peev xwm. Yog hais tias Bit 3 yog teeb, ces (R, G, B) yog rotated txoj cai yog hais tias tshuav 2 yog ib qho, los yog laug yog me ntsis 2 yog xoom.

image

image

REG_HCYCLE, REG_HSIZE, REG_HOFFSET, REG_HSYNC0 thiab REG_HSYNC1 txhais tau cov LCD rov
sijhawm. Txhua tus tso npe muaj 12 khoom tuaj yeem tso cai kom muaj kev sib txawv ntawm 0-4095 PCLK. REG_VCYCLE,
REG_VSIZE, REG_VOFFSET, REG_VSYNC0 thiab REG_VSYNC1 txhais lub sij hawm ntsug LCD. Txhua
sau npe muaj 12 tsoo tuaj yeem tso cai kom muaj kev tshaj li 0-4095.

image

image

image