2024-03-21 12:47 AM
Hi all,
I am trying to config the LTDC, after config and generating the code by cubeMx, I see some config like the below:
pLayerCfg.Alpha = 0;
pLayerCfg.Alpha0 = 0;
pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_CA;
pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_CA;
My config is the same as below:
And I have tried to change some items for exploring as below:
I can easily understand that L1_Alpha controls the transparency of Layer1, but others seems not clear.
I am confused about what these items mean. Can some document introduce me to how to calculate the RGB result?
Thanks a lot.
Solved! Go to Solution.
2024-03-21 01:47 AM - last edited on 2024-03-22 01:57 AM by LouisB
Hello,
You can refer to this AN4861 "Introduction to LCD-TFT display controller (LTDC) on STM32 MCUs"
2024-03-21 01:47 AM - last edited on 2024-03-22 01:57 AM by LouisB
Hello,
You can refer to this AN4861 "Introduction to LCD-TFT display controller (LTDC) on STM32 MCUs"
2024-03-28 10:59 PM
Thanks for your help @SofLit
Now I got that the 'Alpha0' is a parameter for the background color, it means the 'A' of 'ARGB'.