For the analysis of the LCD driver structure in the Linux kernel, because the company's project is a XX solution, we will use it for analysis and place it on the S3C2410 driver. It should be okay to compare it.
Before analyzing the driver, first understand several important data structures of the LCD driver,
1. struct fb_info data structure (FBI)
1 struct fb_info 2 {3 int node; 4 int flags; 5 struct fb_var_
Detailed analysis of the stage1 phase see Uboot detailed commentaryWe start with the analysis of Uboot's stage2.Load Flow AnalysisThe first is to complete the initialization of the hardware.The function call process is:U-BOOT64/ARCH/ARM/BOARD.C:Board_init_r ()U-BOOT64/COMMON/STDIO.C:Stdio_init ()U-BOOT64/COMMON/LCD.C:Drv_lcd_init ()Lcd_init ()U-BOOT/DRIVERS/VIDEO/SPRDFB/SPRDFB_MAIN.C:Lcd_ctrl_init () Sprdfb_probe () There are a few things that have been done in probe:1. Set the backlight (set_
Good mind than bad writing, for the convenience of viewing code and code reuse, here posted s3c2440 LCD control initialization code. Using the friendly MINI2440 Development Board, the LCD is 320*240 and the development environment is RealView MDK 4.22.The source code structure is simple and clear, the original project: Click to open the linkRegister macro Definition:#define RGPCCON (* (volatile unsigned lon
The LCD screen's bad point is also called a point absence, which refers to the LCD display Black-and-white and red, yellow, blue, the three primary colors displayed in the sub pixel point, each point is a sub-pixel.
The bright spot is one of the bad points. At present, there are two kinds of LCD bad spots: bright spots and dark spots. Highlight is when the backg
With a variety of software upgrades, our system IE6 is also gradually eliminated, the current mainstream browser half of the users have been directly upgraded from IE6 to IE8, although to the user better experience, the Internet faster and more convenient, but for the site production, is a more troublesome problem, Because a lot of page code in different browsers display the effect is not the same, compatibility control is difficult to grasp.Today, a friend asked me why he was under the IE6, do
Original article, original address: http://blog.csdn.net/dearsq/article/details/51210703Welcome reprint, Reprint please keep the address!PortingguidebacklightThere are two kinds of hardware designs for backlighting:1. Built-in parallel backlight2. External series backlightfor the 1 scenario , the steps are as follows:1. Transplant the corresponding LCD driver.2. Set the backlight in U-BOOT\DRIVERS\VIDEO\SPRDFB\SPRDFB_MAIN.C to built-in:void Set_backli
In this article, I will introduce and summarize every step of learning embedded Linux. I would like to sum up my experience, and I hope it will be convenient for anyone who wants to get started with embedded Linux. If any error occurs, please correct it.
Share resources. Please refer to the following link for more information:Http://hbhuanggang.cublog.cn
I. Porting Environment
MASTER: VMWare -- fedora 9
Development Board: mini2440 -- 64 MB Nand
Compiler: arm-linux-gcc-4.3.2
2. Migration
LCD computer monitors can not adjust the brightness, or after the adjustment will flicker, with a long time will also blink, but sometimes back to normal.
Voltage or surrounding electrical appliances may cause the LCD screen flicker, at the same time the internal contact is bad or high pressure plate problems will cause the above phenomenon. When this happens, the display can be moved elsewhere, and
How to set up a notebook external flat panel monitor? The method steps for setting the details are as follows:
The output frequency of the notebook does need to look at the performance of the video card of the notebook, but the more decision of this refresh frequency is the screen itself, the LCD is mainly divided into two kinds of standard 6 hertz, and the other is the Nvidia 3D display which is required by 120 Hertz screen Support, and need to supp
The main reason is that the Marquee in IE is not universal and cannot work normally in other browsers. Therefore, JavaScript is used to rewrite its functions to support multiple browsers! The function has been encapsulated in Marquee. js and supports uninterrupted scrolling (default). If the content length and width in the subtitle area are smaller than the length and width set in the subtitle area, it is n
JQuery achieves the effect of simulating the marquee tag, jquerymarquee
Marquee
Simulate the marquee effect under IE and move the mouse to pause. The main principle of Ring Formation is that once an external display window is determined for each image, it is added to the end. append and prepend are used to simulate the push () and shift () arrays ().
The Code is
TnTN (Twisted nematic) is a twisted-to-column panel, which belongs to the active matrix liquid crystal display. Since TFT is an active matrix LCD allows the arrangement of liquid crystal to have memory, will not be restored immediately after the current. At the same time, TFT in the back of the LCD set special light tube, can be active on the screen of individual pixels to control, while its output gray cla
LCD can finally be loaded with a full screen, filled with joy, the result began on a large area of black screen, the original is part of the new board burned to write the old superboot, re-burn write new after the problem solved.LCD display principle is from point to line, the line to the surface of the continuous scanning principle, the specific design to the left and right margin of the timing of the relevant data, here will not repeat. Here is the
12864 LCD uses 16*16 lattice, 128 characters (8*16 lattice), and 64*256 lattice display RAM (gdram ). it adopts parallel or serial control mode with external CPU interfaces.
The second line of the random number 0-9 displayed on 12864 shows www. csdn. Blog
The third line shows "Seeking for 07 blogs"
The fourth line shows "welcome"
The following is the main code:
# Include # Include # Include # Define uchar unsigned char# Define uint unsigned int# Defi
Use the text mode of the T6963C controller in lm4229 to display strings. Most programs are from the network.
// Filename: Global. h
# Define uchar unsigned char
# Define uint unsigned int
// Filename: T6963C. h # define data_port P0 // release // pin definition // ------------------------------------------------ sbit Cd = P2 ^ 0; // data (L)/command (h) select sbit writ = P2 ^ 1; // write, low-level valid sbit Ce = P2 ^ 2; // enable, low level valid // =======================================
How to control the display point of the LCD Module
1. display the ram zone ing
For the LCD module, it is very important to understand the relationship between the Display memory in the driver control IC and the points on the LCD glass. This is the basis for compiling the LCD driver program.
The driver control chip has
LED is the abbreviation of light emitting diode.
Led applications can be divided into two categories: one is the single-tube led applications, including back-light LED, infrared LED, and so on; the other is the LED display. Currently, there is still a certain gap between China and the International in the manufacture of basic led materials. However, for the LED display screen, China's design and production technology level is basically in line with international standards.
An LED display is a di
LCD driver is not necessary for TINYCLR, especially on the em-stm3210e Development Board, because the memory on the Development Board is too small, the chip 64K, outside the expansion of 128K, add up is not 172K, and we know that for the 320*240 display size, The size of the 16bit bitmap is 150K, and obviously the. Net Micro Framework provides a graphics library that is hard to run without modification, but for us to display text information on the
Because the LCD computer is afraid of water, do not let anything with moisture into the LCD computer. Of course, once this happens, should immediately cut off the power, if the water has entered the LCD computer, put the LCD computer in a warmer place, the water will gradually evaporate inside, it is best to call the s
Marquee. jsParameter description:The ID of the demo subtitle area tag (div;Demo1/demo2: The ID demo1 of the content tag (div or td) is the original content, and demo2 is its copy;Ction subtitle direction (up, down, left, right );Delay the delay time of subtitle playback (MS );Step: The Stride of subtitle playback (I .e., the smaller the stride, for example, step = 1, the smoother the scrolling)Function Marquee
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.