поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

STM32F479 датащи(PDF) 79 Page - STMicroelectronics

номер детали STM32F479
подробное описание детали  LCD-TFT display controller (LTDC) on STM32 MCUs
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32F479 датащи(HTML) 79 Page - STMicroelectronics

Back Button STM32F479 Datasheet HTML 75Page - STMicroelectronics STM32F479 Datasheet HTML 76Page - STMicroelectronics STM32F479 Datasheet HTML 77Page - STMicroelectronics STM32F479 Datasheet HTML 78Page - STMicroelectronics STM32F479 Datasheet HTML 79Page - STMicroelectronics STM32F479 Datasheet HTML 80Page - STMicroelectronics STM32F479 Datasheet HTML 81Page - STMicroelectronics STM32F479 Datasheet HTML 82Page - STMicroelectronics STM32F479 Datasheet HTML 83Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 91 page
background image
DocID029237 Rev 2
79/91
AN4861
LTDC application examples
89
To generate the header file click on File->Convert. Then in the displayed window shown in
Figure 51, set the file type to “C/C++ headers (*.h)”, then save the *.h file in include “\Inc”
directory (same location as main.h file) by clicking on the Save button.
Figure 51. LCD Image Converter: generating the header file
The generated header file should be included in the main.c file. It includes a table of 32-bit
words where each word represents two pixels.
In this header file, the user must comment the structure definition located just after the table
and keep only the table definition as shown below:
/* Converted image: image_data_STLogo definition */
const uint32_t image_data_STLogo[65280] = {0xffffffff, 0xffffffff,
........};
Setting the LTDC framebuffer Layer1 start address to the internal Flash
(image address in the Flash)
The generated project by STM32CubeMX should include in the main.c file the
MX_LTDC_Init() function that allows to configure the LTDC peripheral.
In order to display the image, the user should set the LTDC Layer1 framebuffer start
address to the address of the image in the internal Flash.
The MX_LTDC_Init() function is presented below with the framebuffer start address setting.
/* LTDC configuration function generated by STM32CubeMX tool */
static void MX_LTDC_Init(void)
{
LTDC_LayerCfgTypeDef pLayerCfg;
hltdc.Instance = LTDC;
/* LTDC control signals polarity setting */
hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AL;
hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AL;
hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL;
hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IPC;
/* Timings configuration */
hltdc.Init.HorizontalSync = 0;
hltdc.Init.VerticalSync = 9;
hltdc.Init.AccumulatedHBP = 43;
hltdc.Init.AccumulatedVBP = 21;



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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