TFT/LCD驱动IC NT35510芯片手册datasheet
TFT/LCD驱动IC、手机显示屏驱动IC-NT35510,文档详细讲解了该芯片的接口定义,以及驱动显示屏的解决方案.NOVATEKPRELIMINARYNT355105.4.2 MDD/ Link Packet Descriptions by the NT355101625.4.3 Writing Video Data to Memory Sequence.......1725.44 Writing Register Sequence...….…,…1725.4.5 Reading video Data from Memory Sequence.7735.4.6 Reading Register Sequence………,…,…,…,…,…,…,…,…,…,…,…,…,…,…,…,…,………735.4.7 Hibernation Setting-..,.,…,…T745.4.8 MDD/ Deep Standby Mode Setting-……,……,…,…,…,…,…,…,………,…,…1755.5 INTERFACE PAUSE1775. 6 DATA TRANSFER BREAK AND RECOVERY.1785.7 DISPLAY MODULE DATA TRANSFER MODES,58RGB| NTERFACE,,nn,,…,…,,,……18158.1 Genera/ Description.…,.,.,…,…1815.8.2 RGB Interface Timing Chart1825.8.3 RGB Interface Mode Set.1835.8.4 RGB Interface Bus Width Set.18759 FRAME MEMORY,……,,,191591 Configuration…....…n1915.92 Address Counter….……………,7925.9.3 Interface to Memory Write Direction.........1935.9.4 Frame Memory to Display Address Mapping.......n…1945.10 TEARING EFFECT INFORMATION1955.10.1 Tearing Effect Output Line1955.10.2 Tearing Effect Bus Trigger..........面面面面面面面aa面面看日自DB自2005.11 CHECKSUM2125.12 POWER ON/OFF SEQUENCE2145. 12. 1 Case 1-REsX line is held High or Unstable by Host at Power On..................2155. 12.2 Case 2- ResX line is held Low by host at power on...e.2165.12.3 Uncontrolled power off2765.13 PoWER LEVEL MODES wmmmmmm2175.13.1 Definition2175.13.2 Power level Mode flow chartn2185.14 RESET FUNCTION…112205.14. 1 Register Default value2205.14.2 Output or Bi- directiona/{o)Pins………,,,…,……………,…,…,,…,…………,……,………2225.14.3 Input Pins………,…,,…,…2221028/20113Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT355105.15 SLEEP OUT-COMMAND AND SELF-DIAGNOSTIC FUNCTIONS OF THE DISPLAY MODULE2235. 15. 1 Register loading Detection.....2235.15.2 Functionality Detection2245.15.3 Chip Attachment Detection…….2255.16 DISPLAY PANEL COLOR CHARACTERISTICS mmmm 2265.17 GAMMA FUNCTI0N..…,………面国面面面国面2275.18 BASIC DISPLAY MODE■日量2285.19 NSTRUCTION SETTING SEQUENCE2295.19.1 Sleep In/Out Sequence…,…,…,…,…,…,…,…,…,…,,…,…,…,…,,…2295192 Deep Standby Mode Enter/ Exit Sequence……2305.20 INSTRUCTION SETUP FLOW2315. 20.1 Initializing with the Built-in Power Supply circuits2315. 20.2 Power OFF Sequence232521 MTP WRITE SEQUENCE…….2335.22 DYNAMIC BACKLIGHT CONTROL FUNCTION234522.1 PWM Control Architecture面面面面面面a面a面面2365. 22.2 Dimming Function for LABC and Manual Brightness Control6.22. 3 Dimming Function for CABC and Force PWM Function,2445.22.4 PWM Signal Setting for CABC and LABC2455.2.5 Content Adaptive Brightness Contro/CABC)………,2475.22.6 Ambient Light Sensor and Automatic Brightness Contro(LABC)…,…,…,…,…,…,…,…,…,………2485.23 COLUMN, 1-DOT, 2-DOT, 3-DOT AND 4-DOT INVERSION (VCOM DC DRIVE2556 COMMAND DESCRIPTIONS2566.1 USER COMMAND SET256NOP0000)....,.…260SWRESET: Software Reset (0100h ...267RDDID: Read Display ID(0400h-0402h)262RDNUMED: Read Number of Errors onRDDPM: Read Display Power Mode(0A00h)............264RDDMADCT: Read Display MAdo间0B0oh),…,265RDDCOLMOD: Read Display Pixel Format0cooh)………266RDDM: Read Display image Mode间 0D00h)……,…………………………………………………………267RDDSM: Read Display signa/Mode(0E00h)……................,…………………268RDDSDR: Read Display Self-Diagnostic Result(sLPN: Sleep In(1000h)-……2701028/20114Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT35510SLPOUT: Sleep Out(100h)……,…,…,…,…,…,…,…,…,……272PTLON: Partial Display Mode On(1200h).........274NORON: Norma| Display Mode On(1300h)...............………275INVOFF: Display Inversion Off (2000h)276yvoN: Display Inversion On(2100b)….......……量道量道面道量温量量量面量面面面面目面面277ALLPOFF: All Pixel Off(2200h)278ALLPON: All Pixel On(2300h280GAMSET: Gamma Set(2600h)…,,,,,,…,282DISPOFF: Display ofi(2800b)….……....,,…,…,…,…,……,283DISPON: Display On( 2900b)284CASET: Column address set(2A00h~2A03h).……,,…285RASET: Row Address Setn287RAMWR: Memory Write(2c00h)289RAMRD: Memory290PILAR: Partial Area(3000h-3003)....∴291TEOFF: Tearing Effect Line OFF (3400h)面面面面面a面面294TEON: Tearing Effect Line ON (3500h)295MADCTL: Memory data Access Control (3600h)..............................296DMOFF: dle mode o(3800……299IDMON: ldle Mode On (3900h).......300COLMOD: Interface Pixel Format 3A00h)302RAMWRC: Memory Write Continue(3c00h)…..........……303RAMRDC: Memory Read Continue(3E00h)……,…,,…,,,…,…304STESL: Set Tearing Effect Scan Line(4400h-4401)...........305GSL: Get Scan Line(4500h-4501h),.…,…,…,…,…,…,…,…,…,…,…,,…307DPCKRGB: Display Clock in RGB Interface(4A00h)308DSTBON: Deep Standby Mode On(4F00h)BIEaIESEBBSEBSEEEE309WRPFD: Write Profile value for Display (5000h-500Fh)........................310WRDISBV: Write Display Brightness(5100h)...………311RDDISBV: Read Display Brightness(5200h)…,…312WRCTRLD: Write CTRL Display(5300h)………313RDCTRLD: Read CTRL Display value(5400h)……,.....,…....……,…,…………315WRCABO: Write Content Adaptive Brightness Contro(5500h)…………………317RDCABO: Read Content Adaptive Brightness Control(5600h)…….…,…,…,…,…,……,…,…,……………………318NRHYSTE: Write3191028/20115Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT35510WRGAMMSET: Write Gamma Setting(5800h-5807h)..eec.321RDFSVM: Read Fs Value MSBs(5A00h)...........323RDFSVE: Read Fs value lsBs(5B0h)..............….……324RDMFFSVM Read Median Filter Fs value MSBs (cooh).325RDMFFSVL: Read Median Filter Fs value LSBs(5D00h)326WRCABCMB: Write CABC minimum brightness(5E00h).,…,…,…,………,,………327RDCABCMB: Read CABC minimum brightness(5Fooh).........328WRLSCO: Write Light Sensor Compensation Coefficient value(6500h~6501h)………,……………,…,…,…………329RDLSCCM: Read Light Sensor Compensation Coefficient Value MSBs(6600h )......,.........-. 330RDLSCCL: Read Light Sensor Compensation Coefficient Value LSBsRDBWLB: Read Black/White low Bits(7000h)332RDBkX: Read Bkx (7100h)333RDBky: Read Bky(7200h)334RDWX: Read Wx( 7300b)............. e..335RDWy: Read wy(7400h)…336RDRGLB: Read Red/Green Low Bits(7500h).......337RDRx: Read Rx(7600).……338RDRy: Read Ry(7700b)..........339RDGX: Read…,,,,,,,,340RDGy: Read Gy(7900h)....................n…341RDBALE: Read blue/ color low Bits(7A00h)……n,,342RDBx: Read Bx(7B00b)-..……,,,343RDBy: Read By(7c00b),,,,.,.,.,.,.,.,.,...,.,.,.,.,.,.,.,…,…344RDAx: Read ax(7D0oh)………,…345RDAy: Read Ay(7E00h)……,…,…,…346RDDDBS: Read DDB Start(A100h-A104h347RDDDBC: Read DDB Continue(A800h-A804h)349RDFCS: Read first checksum(AA0oh)……351RDCCS: Read Continue Checksum(AF00h)-.…………352RDID1: Read iD1 value(DAooh).ee..353RDD2: Read D2 Value(DB0oh)……354RDD3: Read D3vaue( COoh)……………,……………,…………………,…3557 SPECIFICATIONS…3567.1 ABSOLUTE MAXIMUM RATINGS.3567.2 ESD PROTECTION LEVEL3561028/20116Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT355107. 3 LATCH-UP PROTECTION LEVEL3567.4 LIGHT SENSITIVITY3567. 5 DC CHARACTERISTICS3577.5.1 Basic characteristics.357752MP/ Characteristics35975.3 MDD/ Characteristics wwwwwww 3617.5. 4 Current Consumption in Standby Mode and DSTB Mode..3627.6 AC CHARACTERISTICS3637.6.1 Parallel Interface Characteristics (80-Series McU)36376.2 SerialInterface Characteristicsaaaassaaaaussuaaaaaaaaaaaaaaaaaaaa3647.6.3 12C Bus Timing Characteristics36576.4 RGB Interface Characteristics3667.6.5 MIP/DS/ Timing Characteristics3677.6.6 MDD/ Timing Characteristics........3717.6.7 Reset Input Timing3728 REFERENCE APPLICATIONS. G.…3738.1 MICROPROCESSOR INTERFACE3738. 2 CONNECTIONS WITH PANEL. m..n..37810/28/2011Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT35510REVISION HISTORYPrepareChecked ApprovedVersionContentsDatebyy0.00OriginalKevinn swDennis2010/02/12Page 9, remove 32ORGB X 480Page 10, Features, remove 32ORGB X 480 and mux descriptionVGHO VGLO for gate control signals, remove VDDIM/SSIMPage11, update power voltage rangePage 12, Block diagramPage 13 to 22Add: VDD DET, DIOPWR, PSWAP, DSWAP, VGHO, VGLO, VRGHVREFCP, CSP, CSN, LVGL, C61P, C61N, VRGH, VREF, GOUT.Remove: VDDIMSSIM. VDDELUpdate: MVDDL,VGL,VGH, Test pinsPage23, update IF tablePage 51 to 66: update SPl, M3=1 setting in figurePage 102, 103, change DSIM, DSiG bit Reg to OXB 100Page 115, 124 Add WrPFD 50h on tablePage201, modified to 480X864 memoryPage202, Remove 320x480Page204, update whole Frame memory tablePage 205, TE map to 480 lines, DOPCTR change to B100hPage207, tvdI TBDPage225, 226, update VDD in figurePage227, Modes to 7Page232, Sout update to Gout0.01Page235, Add chip attachment Detection sectionKevinSWDens2010/03/17Page237, update Gamma StructurePage255, 270, update FOSC, ExamplePage266, update KB CLEDPage272, Add inversion sectionPage273, 274, Power ArchitecturePage275, update DIOPWRVREFCP, VGMP1,VGLOPage276, update C61P/N, LVGL, VGLO, VRGH,VREFCP, DIOPWR,VGMP 1/2VGMNVGSPVGSNPage291, change name to RAMKPPage306 to 312, remove 320x 480 resolution settingPage337, 5400h Cmd add a andg bitPage385, Absolute Max Rating for MV Hv, remove VDDIMPage 386, VDDIM removePage387, Vdev value modifiedPage402, 403, Remove MVDDI in notePage406, Remove 320 X 480, update 360X640 Sout sequencePage 173 to 181, MDDI windowless packetPage377, 379, A1, A8 cmd updatePage387 to 396, VDDI to 3.3VPage362 to 37670h to 7Eh cmd default valuePage28, 29, 30, 40, 41, 42 MPU figure updatePage 12, 274 Block and power architecture update10/28/20118Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT35510Page 10, remove 36ORGB X 640, Add 480RGBx720Page 11, update GPo[3: 01pdate VGHO, VGLOge 13, update Block DiagramPage 18, update IM, GPO, VSEL, and EXB1TPage 20, update VGLO, LVGLPage 21, update VGLX,VGL REG, Remove CP6 P/NPage 23, update VDD BCPage 24, update ContACT1-4, VSSIDUMPage 25, update iF description tablePage 207, update Address CounterKevinDennis2010/0406Page 235, update Resolution DataPage 252, remove CLED VOLPage 271, remove KB CLED_ VOLPage 277, add 4 dot inversionPage 306, 308, 313, 326 resolution update, remove nHD, add 480X720Page 384, update absolute voltagePage 385, update DC specPage 386, update Note3, Note5Page 405. update resolutionPage 406. update Alignment Mark-Page10,11205,206,234,305307,312,325404, update resolutionPage 13, update Block diagramPage 17-24, update pin description(MDDI not support DSWAPUpdate TEIR, TE_L, DSTB SEL, RESX, VSEL VREF PWR 12C_SDAremove VDD BD, ENDIOVPagB104121ric data type 0x24Page 134, update eotP optionPage 175, update MDDI support typPage 176, 177, update sub frame header, link shut down packetSWDennis2010/05/18Page 179, 180, update skew calibration packet, client capability packetPage 184, update packet type is 20Page 209, 214, update tE off, output is low, tering effect bus triggerPage 241, update gamma to 10 bits settingPage 276, update 3-dots inversionPage 384 update VIH, VIL, VoH,VOLPage 388, update hibernation wake upPage 390, 392 update Note2-Remove pad chapter to application note10/28/20119Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformationNOVATEKPRELIMINARYNT35510Page 14, update block diagram of RGBBPPage 16, update WRX/SCL/2C SCL, sDI/2C SDAPage 19-25, update IM3 pin description, RGBBP(remove 12C SA1)OSC Test description, KBBC to test pinPage 21, update VREF PWr descriptionPage 26, update IM tablePage 42-44, update MPU read scriptionPage 49-52, update SPl+RGB or SPl+MDDI description0.04Page 60, update 12C AddressKevinSWDen201007/27Page 181, 182, update 16 bit SPI pause descriptionPage 187-189, update RGB figurePage 200, update TE waveform in RGB mode 2Page 237, MTP sequencePage 238-258, update one dimming control for LABC CABcremove KBBc function descriptionPage 260, update 0X04 Cmd, remove KBBC CmdPage 262, update 0XA 1,0xA8 CmdRemove all the KBBc related function registerPage11,12,190,191,219,284-287,291,304,376,remove 480RGBX 360Page 15, update MTP PWR application voltagePage 16, update CSX, RDX, DC/X, SDI, SDOPage 18, update DSWAPPage 19, correct typo for IM[3: 0]in MDDI+SCL(falling edge)Page 38&44, update typo for data format in table0.05Page 53, update read data 8-8-8-bit only in SPIKevinDenn2010/10/18Page 183, 184, update note for min porch of RGB interfacePage 232, update MTP sequence and MTP PWR voltagePage 235, 236, remove PWM ENH OE bit(keep x2Page 312, 314, update typo for BCTRL and BLPage 371, 372: update figuresPage 373: update figure, add RGB+l2CPage 374: update figures, IM settingPage 375: update figures, IM settingPage 15, update DVDD typicage 129, update typo in figure of AwERPage 194, update typo for Hsync218 add condition of irregulaoffPage 219, 255, update command name typo of 05h commandPage 228-231, update typo in figuresPage 234, update typo for ALS in figure 5. 22.10.1Page 235, update CLED VOL bit in figure 5. 22.2KevinDennis2010/12/24Page 312, 314, update typo for BCTRL bl bitsPage 316, update typo in flow chartPage 346, update description of parameterPage 355, update maximum rating for VGH, GlxPage 358, 359, update 2 lane description in conditionPage 362, update pin name typo in figure-Page 376, update typo for CRGB condition10/28/201110Version o 8With respect to the information represented in this document, Novatek makes no warranty, expressed or implied, including the warranties of merchantabilityfitness for a particular purpose, non-infringement, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any suchinformation
- 2020-12-05下载
- 积分:1
基于QT的电子地图设计与实现
毕业设计是基于QT的电子地图设计与实现 ,用于C语言的开发。2010届本科生毕业设计目录摘要ABSTRACT前言.1.1概述1.2研究背景1.3研究目标1.4需求分析1.41用户需求分析1.4.2功能需求分析1.5本章小结2qT简介2.1QT的背景介绍2.2qT实现的结构原理.2.3 QT GraphicsⅤ iew Framework简介2.3.1 Graphics view层次结构2.3. 2 QGraphicsItem2.4QT应用程序的实现2.5本章小结3 mapinfo绘制电了地图3.1 Mapinfo professiona1简介122010届本科生毕业设计3.2 Mapinfo地图图表3.3 Mapinfo地图图层与图元.143.3.1地图图层.3.3.2地图图元3.4地图的来源3.5电了地图绘制3.5.1 Mapinfo professional地图绘制工具3.5.2 Mapinfo professional绘制地图3.6来MIF和求.MID文件3.7本章小结204系统框架描述214.1系统模块申非214.2主要功能4.3平台简介224.4UP- TECHPXA270-S核心模块资源234.5本章小结.....245详细设计,,255.1程序流程图...255.2界面设计.....275.2.1主窗体设计..,,,,.275.2.2子窗休设计285.3地图的显示..,,,,,,..,,.292010届本科生毕业设计5.3.1地图坐标转换5.3.2地图图元的显示305.3.3显示效果设计.,,,,,,,,,,335.4单源最短路径算法365.4.1 Dijkstra(迪杰斯特拉)算法365.4.2路径节点的存储,,,,,,,375.5木章小结416测试及运行结果6.1测试目标6.2测试预期结果426.3运行结果.6.3.1地图浏览功能.....436.3.2路径规划功能446.4木章小结看鲁457论文总结46参考文献.47谢辞482010届本科生毕业设计前言1.1概述随着新的ARM芯片不断问世以及这些芯片的价格下降,嵌入式产品开始潜移默化的取代早期的些单片机,并在社会各行各业中占有越来越重要的位置,嵌入式产品也由此成为众多工程师选择开发高端产品的芯片首选。QT具备跨平台,易扩展,界面华丽,性能稳定等优点。因此,以嵌入式处理器作为使件半台,以QT作为程序框架,两者的完美结合必将成为未来技术的发展方向1.2研究背景现在,汽车正在普及,道路不断建设,城际间的经济往来更加频繁,活动的区域也越来越大。为了提高生活质量,大量的休活动、探险活动的举行使我并不局限在自己认识的一小块区域中,不认识道路,找不到目的地的情况也屡有发生。就此,各种各样的导航仪逐渐走进我们的生活。无论仆么导航仪最主要的部分都是电子地图。开发电子地图成为了导航仪的关键。根据调査,电了地图制作困难而且价格相当昂贵,给导航伩的开发带来了很多不便。自主绘制电子地图,编写电子地图应用程疗,不管是从经济上还是研究上都具有非常大的意义市面上的嵌入式产品各式各样,用到的嵌入式操作系统自然也是有所不同。如果拥有一个跨平台的程序的话,那将会给我们的开发节省了大量的时间。QT正是一个支持多平台的C+图形用户界面应用程序框架。它提供给应用程序开发者建立艺术级的图形用户界面所需的所用功能。Q是完仝面向对象的很容易扩展,并且允许真正地组件编程。所以使用QT作为应用程序框架是一个不错的选择1.3研究目标基于上述背景,开发一个电子地图项目,使用 windOws cD5.0搭配PXA270开发板来构建这个项目。仗用 mapinfo电子地图绘制软件自主绘制电子地图。利用QT4作为系统应用层的程序框架。根据系统的需求,裁减、移植 windOwsce内核。分析系统功能和接口,添加各种驱动程序,如:USB驱动,(∽M口驱动等根据应用程序屮的钶个功能模块,分析各个模块的用户界面接口和对人机交互图2010届本科生毕业设计形化用户界面的接口设计。1.4需求分析1.4.1用户需求分析目前,我们可以通过各种途径接触电子地图,例如以网页形式的电子地图,如 Google地图、 Google earth、百度地图等,以车载GPS导航仪的电子地图,如 garmin饪我游、纽曼、新科、城际通等,还有以手机导航功能出现的电子地图,越来越多的亍杋将支持导航功能,诺基亚2010年在大规模普及手机导航对此,本顶目采用免费版的QT作为程序框架,并且可以跨平台使用,在廾发成本上有着很大的优势。未来几年,配备电子地图的电子产品市场将逐渐走向成熟,市场需求和产品销量会保持大幅增长,产品供应链中的各类企业将获得曰大商机。尤其是随着产品价格的不断下降,这种快速发展的态势公愈加明显。电子地图在中国市场必然会获得更大的发展空间。由此,本项日也适应用户需求,开发电子地图的相关功能:地图显示功能卫星定位功能、路径导航功能、语音提示功能等。1.4.2功能需求分析根据用户需求,和对产品的定位,划分以下功能表1-1用户需求功能支持功能所需硬件1地图显示2实时定位UP- TECHPXA270-S为硬件开发平台3路径导航4语音提示2010届本科生毕业设计攴持功能分析:1.地图显示:显示当前位置地理信息,包括道路、河流、建筑物,以及标志性建筑的名称,可以通过地图了解的所在位置的周边情况。实时定位:通过不断对对COⅧM凵接收到的信息进行分析,获取当前所在位置并且显示在地图的相应位置上3.路径导航:可以设置日的地点,系统将通过路径优先算法显示最优路径,完成导航功能。4.语音提示:通过简单的语言提示来配合路径导航。所需硬件分析:需要的硬件模块在UP一 TECHPXA270-S硬件实验平台上已一应俱全。在此平台上还配制了8英寸的TFT真彩液晶屏,支持640*480的分辨率。UP一 TECHPXA270S在存储系统方面也有着很高的配置,内置了高性能价格比的 NAND FLASH6M内存,支持大谷量的用户差异图形图片和媒休文件的存储。CPU的能力当然是毋庸置疑的, Intel xscale结构芯片的PXA270在各方面都表现了很强悍的能力,在日前市场上来说也是一款很先进的处理器芯片PXA270处理器是 Intel公司目前性能最为强劲的移动处理器,已经成为高端移动设备屮最受欢迎的处理器之一。PXA270最高主频可达624Mz,它引入了X86架构奔腾4系列上的多媒体技术——MⅨ技术,能够大大提升多媒体处理能力,用户通过该技术可以在VGA上面播放高质量的MPG4视频:同时加入了 Inte lSpeedstep动态电源管理技术,在保证CPU性能的情况下,最大限度地降低移动设备功耗。1.5本章小结木章主要介绍本项目的选题背景、意义,选题目标和项目需求分析,根据品市场和本人技术水平情况,按需求划分软件功能模块,还根据软件功能和现有瓷源的性能对使件需求做」详细分析。2010届本科生毕业设计20T简介2.1QT的背景介绍Qt/ Embedded是著名的Qt库开发商 Trolltech公司开发的面向嵌入式系统的Qt版本,开发人员多为KDE项日的核心开发人员。许多基于Qt的XWindow程序可以非常方便地移植到Qt/ Embedded上,与X11版本的Qt在最大程度上接口兼容,延续了在Ⅹ上的强大功能,在底层彻底摒弃了X1ib,仅米用 framebuffer作为底层图形接口。Qt/ Embedded类库完全采用C++封装。丰富的控件资源和较好的可移植性是Qt/ Embedded最为优秀的·方面,使用Ⅹ下的开发工具 Qt Designer可以直接开发基于Qt/ Embedded的UI(用户操作接口)界面。越来越多的第三方软件公司也开始采用Qt/ Embedded廾发嵌入式下的应用软件。2.20T实现的结构原理Qt/ Embedded是 Trolltech公司开发的面向嵌入式系统的Qt版本,与Ⅹ11版本的Qt在最大程度上接口兼容,采用帧缓存( framebuffer)作为底层图形接口。Qt/ Embedded类库完全采用C艹+封装,并且有着丰富的控件资源以及较好的可移植性,大范围的Qt/ Embedded apl可用于多种开发项∏。Qt/ Embedded的实现结构如下:QT的应用程序QT的图形事件QT/EmbeddedFrameBuffer设备驱动操作系统硬件平台图21QT的实现结构图2010届本科生毕业设计Qt/ Embedded的底层图形引擎基于 framebuffer。 Framebuffer驱动程序的实现分为两个方面:一方面是对LCD及其相关部分的初始化,包括画在缓冲区的创建和对DMA通道的设置;另外一方面是对画面缓冲区的读写,具体到代码为read、 write、 Iseek等系统调用接凵。至于将画面缓冲区的内容输出到LCD显示屏上,则由硬件自动完成。对于软件来说是透明的。当对于DMA通道和画面缓冲区设置完成后,DMA开始正常工作,并将缓冲区中的内容不断发送到LCD上。这个过程是基于DMA对于LCD的不断刷新的基于该特性, framebuffer驱动程序必须将画面缓冲区的存储空间(物理空间)重新映射到一个不加高缓存和写缓存的虚拟地址区间中,这样能才保证应用程序通过map将该缓存映射到用户空间后,对于该画面缓存的写操作能够实时的体现在LCD上。QT程序是基于C+编写的,图形用户界面编程同时需要运行效率和高水平的灵活性。Qτ通过结合C+的速度为这一领域提供了Qt对象模型。Qt把下面这些特性添加到了C++当中和被称为信号和槽的非常强大的机制;可查询和可设计的属性项;强大的事件和事件过滤器:根据上下文进行国际化的字符串翻译;完善的时间间隔驱动的计时器等。许多Qt的特性是基于Q0 bject的继承,通过标准C++投术实现的。Q^ pplication是必须构造的吐t主对象,需要在一开始的时候就构造这个对象,并把命令行参数传递给这个对象,每个Qt应用程序有且仪有一个APplication对象,该对象必须在做其他事之前创建,这个对象处理一些底层操作,如事件处理、字符串本地化和控制界面外观等。信号和信号处理函数是(UⅠ应用程序用来响应用户输入的基本机制,乜是所有GUI库的核心特征,Qt的信号处理机制由信号( signa1)和槽(slot)构成,它们相当于GTK+中的信号和回调函数。在Qt中回调函数就叫做槽。信号和槽用于对象间的通讯,它的基本语法为:connect(objectl, signal, object2, slot1)2.3 QT Gr aphics view Framework简介2.3.1 Graphics view层次结构Graphics view提供一个强人的自定义2D平面图元并处理它们之间相互作用的接口,以及将一个这些图元视化的view控件,它支持旋转和缩放。该框架还包含个事件传递机制,允许画布和画布上的图元之问精确
- 2020-12-08下载
- 积分:1