công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

STM32F469 bảng dữ liệu(PDF) 46 Page - STMicroelectronics

tên linh kiện STM32F469
Giải thích chi tiết về linh kiện  LCD-TFT display controller (LTDC) on STM32 MCUs
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32F469 bảng dữ liệu(HTML) 46 Page - STMicroelectronics

Back Button STM32F469 Datasheet HTML 42Page - STMicroelectronics STM32F469 Datasheet HTML 43Page - STMicroelectronics STM32F469 Datasheet HTML 44Page - STMicroelectronics STM32F469 Datasheet HTML 45Page - STMicroelectronics STM32F469 Datasheet HTML 46Page - STMicroelectronics STM32F469 Datasheet HTML 47Page - STMicroelectronics STM32F469 Datasheet HTML 48Page - STMicroelectronics STM32F469 Datasheet HTML 49Page - STMicroelectronics STM32F469 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 91 page
background image
Creating a graphical application with LTDC
AN4861
46/91
DocID029237 Rev 2
offset of the DMA2D equal to the difference between the closest burst multiple and
the actual line length data size.
The LTDC line length should always be equal to the active data size, but, the
LTDC pitch should be programmed with the value of the closest bytes number
multiple of 64 bytes.
The HAL_LTDC_SetPitch function provided under the hal_ltdc driver can be used to
program the desired pitch value in number of pixels. For the previous example, the
value of the pitch to pass to this function should be equal to 512 (512 is the number of
pixels per line corresponding to a line length size of 1536 bytes which is multiple of 64
bytes).
The code below is based on the HAL drivers and shows an example of setting the pitch
as described in Figure 27:
/* Setting the Layer1 window to 480x272 at positions X = 0 and Y = 0 */
pLayerCfg.WindowX0 = 0;
pLayerCfg.WindowX1 = 480;
pLayerCfg.WindowY0 = 0;
pLayerCfg.WindowY1 = 272;
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB888;
pLayerCfg.Alpha = 255;
pLayerCfg.Alpha0 = 0;
pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_PAxCA;
pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR1_PAxCA;
/* Framebuffer start address: LTDC fetches the image directly from internal
Flash the real image width is 480 pixels but additional 32 pixels are added
to each line to get a 512 pixels pitch.
Only the 480 pixels width is displayed*/
pLayerCfg.FBStartAdress = (uint32_t)&image_data_Image_RGB888_512x272;
pLayerCfg.ImageWidth = 480;
pLayerCfg.ImageHeight = 272;
pLayerCfg.Backcolor.Blue = 0;
pLayerCfg.Backcolor.Green = 0;
pLayerCfg.Backcolor.Red = 0;
if (HAL_LTDC_ConfigLayer(&hltdc, &pLayerCfg, 0) != HAL_OK)
{
Error_Handler();
}
/* Sets the Layer1 (index 0 refers to Layer1) Pitch to 512 pixels */
HAL_LTDC_SetPitch(&hltdc, 512, 0);
Figure 27 describes the management of the memory after solving the previous
problem.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com