STM32469I-Discovery
ActiveLayer
is only used within STM32469I-Discovery.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32469I-Discovery
ActiveLayer
ActiveLayer variable
Default Active LTDC Layer in which drawing is made is LTDC Layer Background
Syntax
from
stm32469i_discovery_lcd.c:135
static
uint32_t
ActiveLayer
=
LTDC_ACTIVE_LAYER_BACKGROUND
;
References
Location
Referrer
Text
stm32469i_discovery_lcd.c:135
static
uint32_t
ActiveLayer
=
LTDC_ACTIVE_LAYER_BACKGROUND
;
stm32469i_discovery_lcd.c:461
BSP_LCD_SetXSize()
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
ImageWidth
=
imageWidthPixels
;
stm32469i_discovery_lcd.c:470
BSP_LCD_SetYSize()
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
ImageHeight
=
imageHeightPixels
;
stm32469i_discovery_lcd.c:514
BSP_LCD_SelectLayer()
ActiveLayer
=
LayerIndex
;
stm32469i_discovery_lcd.c:610
BSP_LCD_SetTextColor()
DrawProp
[
ActiveLayer
]
.
TextColor
=
Color
;
stm32469i_discovery_lcd.c:619
BSP_LCD_GetTextColor()
return
DrawProp
[
ActiveLayer
]
.
TextColor
;
stm32469i_discovery_lcd.c:628
BSP_LCD_SetBackColor()
DrawProp
[
ActiveLayer
]
.
BackColor
=
Color
;
stm32469i_discovery_lcd.c:637
BSP_LCD_GetBackColor()
return
DrawProp
[
ActiveLayer
]
.
BackColor
;
stm32469i_discovery_lcd.c:646
BSP_LCD_SetFont()
DrawProp
[
ActiveLayer
]
.
pFont
=
fonts
;
stm32469i_discovery_lcd.c:655
BSP_LCD_GetFont()
return
DrawProp
[
ActiveLayer
]
.
pFont
;
stm32469i_discovery_lcd.c:668
BSP_LCD_ReadPixel()
if
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_ARGB8888
)
stm32469i_discovery_lcd.c:671
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint32_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32469i_discovery_lcd.c:673
BSP_LCD_ReadPixel()
else
if
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_RGB888
)
stm32469i_discovery_lcd.c:676
BSP_LCD_ReadPixel()
ret
=
(
*
(
__IO
uint32_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
&
0x00FFFFFF
)
;
stm32469i_discovery_lcd.c:678
BSP_LCD_ReadPixel()
else
if
(
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_RGB565
)
||
\
stm32469i_discovery_lcd.c:679
BSP_LCD_ReadPixel()
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_ARGB4444
)
||
\
stm32469i_discovery_lcd.c:680
BSP_LCD_ReadPixel()
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_AL88
)
)
stm32469i_discovery_lcd.c:683
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint16_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
2
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32469i_discovery_lcd.c:688
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint8_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
2
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32469i_discovery_lcd.c:701
BSP_LCD_Clear()
LL_FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
,
BSP_LCD_GetXSize
(
)
,
BSP_LCD_GetYSize
(
)
,
0
,
Color
)
;
stm32469i_discovery_lcd.c:710
BSP_LCD_ClearStringLine()
uint32_t
color_backup
=
DrawProp
[
ActiveLayer
]
.
TextColor
;
stm32469i_discovery_lcd.c:711
BSP_LCD_ClearStringLine()
DrawProp
[
ActiveLayer
]
.
TextColor
=
DrawProp
[
ActiveLayer
]
.
BackColor
;
stm32469i_discovery_lcd.c:714
BSP_LCD_ClearStringLine()
BSP_LCD_FillRect
(
0
,
(
Line
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
)
,
BSP_LCD_GetXSize
(
)
,
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
)
;
stm32469i_discovery_lcd.c:716
BSP_LCD_ClearStringLine()
DrawProp
[
ActiveLayer
]
.
TextColor
=
color_backup
;
stm32469i_discovery_lcd.c:717
BSP_LCD_ClearStringLine()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:729
BSP_LCD_DisplayChar()
DrawChar
(
Xpos
,
Ypos
,
&
DrawProp
[
ActiveLayer
]
.
pFont
->
table
[
(
Ascii
-
' '
)
*
\
stm32469i_discovery_lcd.c:730
BSP_LCD_DisplayChar()
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
*
(
(
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
+
7
)
/
8
)
]
)
;
stm32469i_discovery_lcd.c:754
BSP_LCD_DisplayStringAt()
xsize
=
(
BSP_LCD_GetXSize
(
)
/
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
;
stm32469i_discovery_lcd.c:760
BSP_LCD_DisplayStringAt()
refcolumn
=
Xpos
+
(
(
xsize
-
size
)
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
/
2
;
stm32469i_discovery_lcd.c:770
BSP_LCD_DisplayStringAt()
refcolumn
=
-
Xpos
+
(
(
xsize
-
size
)
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
;
stm32469i_discovery_lcd.c:787
BSP_LCD_DisplayStringAt()
while
(
(
*
Text
!=
0
)
&
(
(
(
BSP_LCD_GetXSize
(
)
-
(
i
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
)
&
0xFFFF
)
>=
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
)
stm32469i_discovery_lcd.c:792
BSP_LCD_DisplayStringAt()
refcolumn
+=
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
;
stm32469i_discovery_lcd.c:822
BSP_LCD_DrawHLine()
Xaddress
=
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32469i_discovery_lcd.c:825
BSP_LCD_DrawHLine()
LL_FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
Xaddress
,
Length
,
1
,
0
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:839
BSP_LCD_DrawVLine()
Xaddress
=
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32469i_discovery_lcd.c:842
BSP_LCD_DrawVLine()
LL_FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
Xaddress
,
1
,
Length
,
(
BSP_LCD_GetXSize
(
)
-
1
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:906
BSP_LCD_DrawLine()
BSP_LCD_DrawPixel
(
x
,
y
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
/* Draw the current pixel */
stm32469i_discovery_lcd.c:955
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
CurX
)
,
(
Ypos
-
CurY
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:957
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
CurX
)
,
(
Ypos
-
CurY
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:959
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
CurY
)
,
(
Ypos
-
CurX
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:961
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
CurY
)
,
(
Ypos
-
CurX
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:963
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
CurX
)
,
(
Ypos
+
CurY
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:965
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
CurX
)
,
(
Ypos
+
CurY
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:967
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
CurY
)
,
(
Ypos
+
CurX
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:969
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
CurY
)
,
(
Ypos
+
CurX
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1027
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
-
(
uint16_t
)
(
x
/
K
)
)
,
(
Ypos
+
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1028
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
+
(
uint16_t
)
(
x
/
K
)
)
,
(
Ypos
+
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1029
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
+
(
uint16_t
)
(
x
/
K
)
)
,
(
Ypos
-
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1030
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
-
(
uint16_t
)
(
x
/
K
)
)
,
(
Ypos
-
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1067
BSP_LCD_DrawBitmap()
Address
=
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
(
(
BSP_LCD_GetXSize
(
)
*
Ypos
)
+
Xpos
)
*
(
4
)
)
;
stm32469i_discovery_lcd.c:1110
BSP_LCD_FillRect()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1113
BSP_LCD_FillRect()
Xaddress
=
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32469i_discovery_lcd.c:1116
BSP_LCD_FillRect()
LL_FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
Xaddress
,
Width
,
Height
,
(
BSP_LCD_GetXSize
(
)
-
Width
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1136
BSP_LCD_FillCircle()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1163
BSP_LCD_FillCircle()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1431
BSP_LCD_DrawPixel()
*
(
__IO
uint32_t
*
)
(
hltdc_eval
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
=
RGB_Code
;
stm32469i_discovery_lcd.c:1449
DrawChar()
height
=
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
;
stm32469i_discovery_lcd.c:1450
DrawChar()
width
=
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
;
stm32469i_discovery_lcd.c:1479
DrawChar()
BSP_LCD_DrawPixel
(
(
Xpos
+
j
)
,
Ypos
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32469i_discovery_lcd.c:1483
DrawChar()
BSP_LCD_DrawPixel
(
(
Xpos
+
j
)
,
Ypos
,
DrawProp
[
ActiveLayer
]
.
BackColor
)
;
Data Use
Functions writing
ActiveLayer
Functions reading
ActiveLayer
BSP_LCD_SelectLayer()
all items filtered out
ActiveLayer
BSP_LCD_SetXSize()
BSP_LCD_SetYSize()
BSP_LCD_SetTextColor()
BSP_LCD_GetTextColor()
BSP_LCD_SetBackColor()
BSP_LCD_GetBackColor()
BSP_LCD_SetFont()
BSP_LCD_GetFont()
BSP_LCD_ReadPixel()
BSP_LCD_Clear()
BSP_LCD_ClearStringLine()
BSP_LCD_DisplayChar()
BSP_LCD_DisplayStringAt()
BSP_LCD_DrawHLine()
BSP_LCD_DrawVLine()
BSP_LCD_DrawLine()
BSP_LCD_DrawCircle()
BSP_LCD_DrawEllipse()
BSP_LCD_DrawBitmap()
BSP_LCD_FillRect()
BSP_LCD_FillCircle()
BSP_LCD_DrawPixel()
DrawChar()
all items filtered out
Type of
ActiveLayer
ActiveLayer
uint32_t
all items filtered out